Integration with PlanetScale

For PlanetScale, we need a service token ID, and a service token. These are straight-forward to add, and make sure to pay attention to the scopes when you create the tokens.

  1. Log in to your PlanetScale account

  2. Navigate to your Organization Settings by clicking on the settings icon next to your organization name.

  3. Click on the "Service Tokens" in the left hand menu,

  4. Create a new service token by clicking on the "New token" button

  5. After you've created your service token, you will be presented with a SERVICE_TOKEN_ID and a SERVICE_TOKEN

  6. Make sure to grant the service token the Read permissionfor the organization and database you want to use it with.

For security reasons the service token is only shown once and cannot be retrieved later. If you lose your service token you will need to create a new one.

Last updated