Cloud provider
Connect your PlanetScale organization to give agents visibility into your databases and branches. Agents can track schema changes, monitor branch state, and correlate database activity with the rest of your infrastructure.

Connect

Connect PlanetScale from the terminal. Pass --help for the flags PlanetScale accepts, plus --no-browser for headless environments.

Terminal
polylane cloud connect --provider planetscale

Tools

2

Operations agents can perform in threads and automations.

planetscaleApi
Call any PlanetScale REST API endpoint that lacks a dedicated tool
planetscaleGetQueryInsights
Get PlanetScale Query Insights for a database branch: top queries, query errors, or latency anomalies

Supported resources

2

Resource types that show up in your infrastructure graph.

Database
Database Branch

Automation triggers

3

Events from PlanetScale that can start an automation.

Cloud Account Connected
Fires once when a user connects a new cloud account to the workspace.
Cloud Account Synced
Fires each time a cloud account finishes a full or incremental sync.
Infra Node Created
Fires once per new infrastructure resource discovered during a cloud sync.

Automation templates

1

Pre-built automations that use PlanetScale. Open one to see its trigger, instructions, and actions.