Skip to content

PlanetScale

Connect Cased to PlanetScale to manage your databases and migrations

PlanetScale

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

Generate Service Tokens

  1. Click on the settings icon next to your organization name
  2. Click on “Service Tokens” in the left-hand menu
  3. Click on the “New token” button
  4. Make sure to grant the service token the Read permission for the organization and database you want to use it with
  5. After creation, you will be presented with a SERVICE_TOKEN_ID and a SERVICE_TOKEN

Important Security Note

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.

Connect to Cased

  1. Go to app.cased.com/connections/planetscale
  2. Enter your PlanetScale SERVICE_TOKEN_ID and SERVICE_TOKEN
  3. Cased agent will start using the PlanetScale connection.