> ## Documentation Index
> Fetch the complete documentation index at: https://docs.monk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Run on DigitalOcean

> Connect Monk to your DigitalOcean account

Monk needs a personal access token to provision and manage infrastructure in your DigitalOcean account. This is the simplest credential setup of all four cloud providers.

## What You Need

* Personal Access Token (API token)
* Optional: default region (e.g., `nyc1`)

## Create Credentials

<Steps>
  <Step title="Open the API page">
    Log into [DigitalOcean → API → Tokens](https://cloud.digitalocean.com/account/api/tokens).
  </Step>

  <Step title="Generate a token">
    Click **Generate New Token**. Name it something like `monk-deployment`. Check both **Read** and **Write** scopes.
  </Step>

  <Step title="Copy the token">
    Copy the token immediately — it is shown only once.
  </Step>

  <Step title="Provide to Monk">
    When you deploy to DigitalOcean, Monk requests the token through a secure form in your IDE. You can also tell your agent:

    ```
    ask Monk to update my DigitalOcean credentials
    ```
  </Step>
</Steps>

## Required Permissions

The token needs both **Read** and **Write** scopes. DigitalOcean tokens are all-or-nothing — there is no fine-grained permission model like AWS IAM.

## How Credentials Are Stored

Credentials are encrypted at rest in your IDE's secret storage and on your Monk cluster using your cloud provider's KMS — so your infrastructure can manage itself autonomously. They are never sent to Monk servers and never exposed to the LLM. See [Security](/features/security) for full details.

## Troubleshooting

**Token revoked** — generate a new token on the API page and update credentials in Monk.

**Insufficient scopes** — make sure the token has both Read and Write. Read-only tokens cannot provision infrastructure.

Ask your agent for help:

```
ask Monk why my DigitalOcean credentials are not working
```

<Card title="Deploy your first app" icon="rocket" href="/getting-started/first-deployment" color="#3B82F6">
  Credentials ready — now deploy
</Card>
