Skip to content
offprompt

PlanetScale

An agent asks for one of these keys by its usual variable name, such as PLANETSCALE_DB_PASSWORD, and offprompt knows from the name which key it is. Under any other name, the agent says which with provider: "planetscale/service_token" or the like.

A postgres_url field links here for someone who has no Postgres connection string yet: app.planetscale.com/new.

The fields offprompt's page shows for PlanetScale, each filled with an example. Change one to watch its checks.
KeyUsual namesUnder any other name
Database passwordPLANETSCALE_DB_PASSWORD, PLANETSCALE_PASSWORDprovider: "planetscale/password"
Service tokenPLANETSCALE_SERVICE_TOKENprovider: "planetscale/service_token"
Service token IDPLANETSCALE_SERVICE_TOKEN_IDprovider: "planetscale/service_token_id"

Database password

Made at app.planetscale.com. Looks like pscale_pw_….

  • Starts with pscale_pw_
  • At least 30 characters

Service token

Made at app.planetscale.com/~/settings/service-tokens. Looks like pscale_tkn_….

  • Starts with pscale_tkn_
  • At least 30 characters

Service token ID

Made at app.planetscale.com/~/settings/service-tokens.

  • 6 to 64 characters