How to create a Vultr API token
Allan Denot
Posted on June 6, 2024
Step 1: Login to your Vultr Account
Go to https://my.vultr.com/ and login to your account.
Step 2: Enable the Vultr API
Click on your name in the top right corner to access a dropdown menu. Select “API” from this menu:
In the Personal Access Token panel, click the large blue “Enable API” button to activate the API:
Step 3: Manage Your IP Addresses
Once you have enabled the Vultr API, go to the Access Control Area (Account → API) to whitelist your IP address. This allows the ownvpn MacOS app to utilize the API on your behalf.
Vultr automatically whitelists your current IP address when you enable the API. If your IP address changes, remember to update the whitelist.
To check your current IP address, visit: https://api.ipify.org/
If your IP changes frequently, you may opt to whitelist all IP addresses. Note that this is less secure. If you choose this option, take extra precautions to secure your API Personal Access Token.
The ownvpn MacOS app stores your API token in MacOS’s keychain to ensure security.
Step 4: Copy Your Personal Access Token
You can find your Personal Access Token on the API page of your Vultr account at any time. Copy this token and enter it into the ownvpn settings, ensuring it is kept secure.
Step 5. Setup ownvpn App
- Open the ownvpn app and select “Settings” from the menu bar.
- Under “Provider,” choose “Vultr” and select your desired Country/Region.
-
Click on “Credentials” and enter the API token you copied from the previous step.
After saving your settings, a green tick will appear next to the “Credentials” button, indicating that your credentials are correctly configured.
You are now ready to create your first VPN instance.
Posted on June 6, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.