Skip to main content

DigitalOcean

How to Generate a DigitalOcean API Key and connect with CloudMoo

Updated over 10 months ago

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

  1. Log into DigitalOcean

  2. Access API Settings

    • Click on "API" from the left navigation menu

    • You'll be taken to the API settings page

  3. 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"

  4. 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:

  1. Return to CloudMoo

  2. Go to the DigitalOcean connection page

  3. Paste your API token in the designated field

  4. Complete the connection process

For additional help or support, please contact our support team.

Did this answer your question?