Capabilities
The Retool connector syncs the following resources:
Notes:
- Sync and group/page provisioning use a direct connection to the Retool Postgres database (the
connection-stringsetting). The account lifecycle (Create and the enable/disable actions) additionally uses the Retool REST API and requires theretool-api-base-urlandretool-api-tokensettings — sync-only deployments work without them. - Retool’s API does not expose a hard delete, so the connector does not offer account deletion. Deprovisioning is the
disable_useraction, which deactivates the account (blocks sign-in) while retaining the user and its group memberships; theenable_useraction reactivates it.
Gather Retool credentials
Configuring the connector requires you to pass in credentials generated in Retool. Gather these credentials before you move on.Create a Retool user and compose the connection string
1
Connect to the Retool database and create a new user. The connector will use this user to connect to the PostGreSQL database. Make sure to create and save a secure password:
CREATE USER baton WITH PASSWORD 'secure-password';2
Grant the new user the following privileges, which are required by the connector for inspecting Retool privileges:
3
Compose and save the Retool connection string you’ll use when setting up the connector. This string will be in this form:
"user=baton password=secure-password host=localhost port=5432 dbname=hammerhead_production"(Optional) Create a Retool API token for account provisioning
Account creation and the enable/disable user actions use the Retool REST API. Skip this section if you only need sync and group/page provisioning.1
In Retool, go to Settings > API and create a new API token.
2
Grant the token the
users:read and users:write scopes (both are required to create, look up, and enable/disable users).3
Copy and save the token, and note your Retool base URL (for example
https://<your-org>.retool.com). You’ll provide both when configuring the connector.Configure the Retool connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by C1.Cloud-hosted connector not currently available.