You can use Acquia CLI with your local development environment to facilitate integration with Cloud Platform.
With Acquia CLI, you can:
Pull your database and Drupal files from Cloud Platform to your local machine
Push your database and Drupal files from your local machine to Cloud Platform
To integrate your local development solution with Acquia CLI, set the following environmental variables to match your local database settings:
ACLI_DB_HOSTACLI_DB_NAMEACLI_DB_USERACLI_DB_PASSWORD
Note
The variables are already set when you use a recommended local development solution, such as Lando.
For more information about local development solutions, see Local development.
For information about adding your custom code before or after an Acquia CLI command, see Hooking into Acquia CLI commands.