This guide will walk you through the steps to generate an API key (access token) in your DigitalOcean account. This API key is required to connect your DigitalOcean account with CloudMoo.
Prerequisites
An active DigitalOcean account
Access to DigitalOcean's control panel
Steps to Generate API Key
Log into DigitalOcean
Visit DigitalOcean's website
Sign in to your account
Access API Settings
Click on "API" from the left navigation menu
You'll be taken to the API settings page
Generate New Token
Click on the "Generate New Token" button
Enter a name for your token (e.g., "CloudMoo Monitor")
Select Expiration to No expire
Select the token's scope:
For CloudMoo, ensure "Read Only" scope is selected
Click "Generate Token"
Copy and Save Your Token
Your new API token will be displayed
⚠️ IMPORTANT: Copy the token immediately and store it securely. You won't be able to see it again after leaving the page.
The token will look something like this:
dop_v1_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
Security Considerations
Never share your API token with anyone
Store the token securely
If you suspect your token has been compromised, you can delete it and generate a new one
Only grant the minimum required permissions (read-only access is sufficient for CloudMoo)
Troubleshooting
If you encounter any issues:
Ensure you have the necessary permissions in your DigitalOcean account
Check that you've copied the entire token string
Verify that the token has the required read permissions
If a token isn't working, you can delete it and generate a new one
Next Steps
After generating your API token:
Return to CloudMoo
Go to the DigitalOcean connection page
Paste your API token in the designated field
Complete the connection process
For additional help or support, please contact our support team.
