With Copilot
Acquia Copilot is a conversational AI connected into our product documentation and knowledge base. Ask Copilot about product features, technical details, troubleshooting and how to get started with Acquia products.
Sign in to use Acquia Copilot
This document provides the steps to perform the following:
Note
To troubleshoot most of the error messages related to Acquia CLI, run the commands again using the --verbose option to diagnose issues.
To begin using Acquia CLI, authenticate against your Cloud Platform account. Open your Terminal and type:
acli auth:loginThis command prompts you to open the page from which you can create a Cloud Platform API token in the Cloud Platform user interface.
Note
If you use other Acquia products, such as Pipelines CLI, your machine might already be authenticated with the Cloud Platform, and you can reuse an existing token.
For example:
$ acli auth:login
You will need a Cloud Platform API token from
https://cloud.acquia.com/a/profile/tokens
Do you want to open this page to generate a token now? y
Please enter your API Key: <ENTER API KEY HERE>
Please enter your API Secret: <ENTER API SECRET HERE>
Saved credentials to /home/<user>/.acquia/cloud_api.confYou can also authenticate in a non-interactive manner through Terminal by providing your tokens as parameters or environment variables. For more information about providing your tokens as parameters, run the following command:
acli auth:login --helpIn priority order, Acquia CLI accepts the following:
ACLI_ACCESS_TOKEN environment variable with its corresponding ACLI_ACCESS_TOKEN_EXPIRY valueACLI_KEY environment variable and its corresponding ACLI_SECRET~/.acquia/cloud_api.conf as generated by the acli auth:login commandTo interact with Cloud Platform, you must generate and upload an SSH key. This allows you to access your Cloud Platform environments using SSH.
Run the following command:
acli ssh-key:create-uploadFor more information on Acquia CLI, see Acquia CLI commands.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.