Automate the rancher deployment using Rancher 1.6.x API

I am looking for usage of Rancher API for achieving the automation for container services deployment to Rancher. The version used for Rancher server is v1.6.14 on ubuntu 18.x server.

Do we need any specific installation on the top of Rancher Server on the Linux VM for usage of Rancher APIs.

request to share any links that directs to get started on the running the APIs for creation of stacks, services and environments.

I would also suggest looking at the Rancher CLI and, if you create infrastructure via automation tools such as Terraform, the Rancher Terraform Provider.