Using Spline paths
A Spline path is a path formed by a Spline in a scene. Use a Spline to specify a fixed course to position or animate a CinemachineCamera. Use the Spline Dolly behaviour to make your CinemachineCamera follow a Spline path.
To create a Cinemachine Camera with a dolly path:
In the Unity menu, choose GameObject > Cinemachine > Dolly Camera with Spline. A new Cinemachine Camera and spline appear in the Hierarchy.
In the Hierarchy window, select the new dolly spline GameObject.
In the Inspector or in the Scene View, add and adjust waypoints.
Any Unity spline can be used as a path in Cinemachine. Just drag it into the Spline Dolly Spline property field, and immediately the CinemachineCamera will start following the spline.