How to use bezier curves with midi CCs

You can record the CCs in automation lanes in the project work area to begin with.