DigitalOcean — Setup
Overview
Section titled “Overview”In this guide you will:
- Create (or sign in to) a DigitalOcean account.
- Generate a personal access token with Read & Write access.
- End with that token, which you hand to the app in DigitalOcean — Key handoff.
The token is a single secret (no separate ID) — the same shape as a password for the DigitalOcean API.
Prerequisites
Section titled “Prerequisites”- A DigitalOcean account (see Step 1 if you don’t have one).
- The PhoenixVPS app installed on your device.
Step 1 — Create or sign in to your account
Section titled “Step 1 — Create or sign in to your account”If you don’t have an account, go to https://www.digitalocean.com/ and sign up (email,
Google, or GitHub), confirm your email, and add a payment method to activate it.
If you already have an account, sign in.
What you see: The DigitalOcean control panel (cloud.digitalocean.com).
Step 2 — Open the API tokens page
Section titled “Step 2 — Open the API tokens page”In PhoenixVPS’s DigitalOcean panel, click Open DigitalOcean Console (opens the API
tokens page). Or go directly to https://cloud.digitalocean.com/account/api/tokens.
What you see: A page titled Applications & API with three tabs — Tokens, OAuth Applications, Authorized Applications. You’re on Tokens. Click the blue Generate New Token button.
Step 3 — Configure the token
Section titled “Step 3 — Configure the token”The Create A New Personal Access Token form opens. Fill it in:
- Token Name: type something you’ll recognise, such as
PhoenixVPS. - Expiration: choose how long the token stays valid (the default is 90 days; you can pick up to 1 year, or no expiry). Note that when it expires you’ll repeat this setup.
- Scopes: select Full Access.
Why Full Access: PhoenixVPS needs to create and delete droplets, SSH keys, firewalls, and tags. A Read Only token will be accepted but the app will fail when it tries to create a server.
Step 4 — Generate and copy the token
Section titled “Step 4 — Generate and copy the token”Click Generate Token.
What you see: The new token is displayed once, as a long string beginning dop_v1_.
Copy it now.
Next step
Section titled “Next step”Take the token to DigitalOcean — Key handoff to connect PhoenixVPS.