Docs Home → Atlas Command Line Interface
Connect from the Atlas CLI![](/docs/atlas/cli/v1.0/assets/link.svg)
On this page
Select a Connection Method![](/docs/atlas/cli/v1.0/assets/link.svg)
When you connect to Atlas from the Atlas CLI, you can authenticate with one of the following commands:
Command | Authentication Method | Use Case |
---|---|---|
atlas auth login | Atlas login credentials and an authentication token | Best for non-programmatic use |
atlas config init | API keys | Best for programmatic use |
Important
API keys are stored in plaintext in the Atlas CLI configuration file. Your API keys are like passwords. Ensure that you secure the configuration file appropriately.
Select a use case below to learn more about the available options:
Connect With Minimum Required Settings![](/docs/atlas/cli/v1.0/assets/link.svg)
Select a use case and follow the steps to connect from the Atlas CLI with minimum required settings.
Complete the Prerequisites![](/docs/atlas/cli/v1.0/assets/link.svg)
Follow These Steps![](/docs/atlas/cli/v1.0/assets/link.svg)
Select a use case and follow the procedure to quickly connect from the Atlas CLI.
Take the Next Steps![](/docs/atlas/cli/v1.0/assets/link.svg)
Start using the Atlas CLI commands.
To save connection settings by modifying the default profile or create a different profile, see Save Connection Settings.