SERVICE_TOKENby navigating to the Service Tokens section in your PlanetScale dashboard.
- 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
- 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.