Add DigitalOcean credentials
Before you can add your DigitalOcean credentials to Portainer, you will need to create an API token in your DigitalOcean account.
Creating your API token
Log into the DigitalOcean dashboard and select API at the bottom left. Click Generate New Token, enter a token name and an expiration time, and ensure that both Read and Write scopes are ticked.
Adding your credentials
To add credentials for a DigitalOcean account, from the Cloud settings page click Add credentials, then select the DigitalOcean option. Give your credential set a name and paste your API key into the box.
![](https://docs.portainer.io/~gitbook/image?url=https%3A%2F%2F3335897979-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FUeb1lPrWdn7TlqnXoAAC%252Fuploads%252FuWJtyoZcwNurZnhVPsKb%252F2.15-settings-cloud-digitalocean-add.png%3Falt%3Dmedia%26token%3Da73875bf-4548-412a-af89-1c3350d6a4bf&width=768&dpr=4&quality=100&sign=f39af1e0&sv=1)
When you're ready, click Add credentials. Your credentials will now be available to you when provisioning a Kubernetes cluster on DigitalOcean.
Last updated