Optional tools
None of these are required, but each gives the Support Engineer more context. They’re all under Connections on the agent’s page.
Datadog
Section titled “Datadog”Datadog monitor alerts start an investigation, just like Sentry errors.
- On the Datadog card, click Connect Datadog. Workasso generates a webhook URL and shows the steps.
- Copy the URL.
- In Datadog, open Integrations → Webhooks.
- Click New, name it
workassoand paste the URL. Keep the default payload and save. - In the notification message of each monitor that should reach the agent, add
@webhook-workasso.
The card shows Waiting for the first alert until the first alert arrives.
PostHog
Section titled “PostHog”Shows what the affected user did before the bug: events, errors and session recordings. The agent only reads.
- In PostHog, open Settings → Personal API keys → Create key.
- Give it read access to Project, Person, Query and Session recording.
- Copy the key, and your project ID from Settings → Project.
- On the PostHog card, click Connect PostHog.
- Pick the PostHog region (US cloud, EU cloud or Self-hosted), paste the Project ID and the Personal API key, and click Connect.
Vercel
Section titled “Vercel”Investigates failed builds.
- On the Vercel card, click Connect Vercel and approve access in Vercel.
- In Settings, pick the projects the agent should follow.
Posts each analysis in a Slack channel.
- On the Slack card, click Connect Slack and approve the app in your workspace.
- In Settings, pick a channel for Production errors and, if you like, another for Critical alerts (left empty, they go to the errors channel).
- Click Test to send a test message, then Save.
Postgres database (read-only)
Section titled “Postgres database (read-only)”With your database connected, the agent confirms what a bug did to the data, finds every affected record and writes the correction SQL — and, for change requests, finds the customer and prepares the change. It only reads. Workasso never changes your data: any correction SQL is run by a person on your team.
1. Create the read-only user
Section titled “1. Create the read-only user”- On the Postgres (read-only) card, click Connect Postgres.
- Check the Schema (usually
public). - Copy the script from step 1 and run it in your database as an admin. It looks like this (Workasso fills in the password):
-- Workasso Support Engineer: read-only accessCREATE ROLE workasso_readonly LOGIN PASSWORD '<generated password>';ALTER ROLE workasso_readonly SET default_transaction_read_only = on;ALTER ROLE workasso_readonly SET statement_timeout = '5s';
DO $$ BEGIN EXECUTE format('GRANT CONNECT ON DATABASE %I TO workasso_readonly', current_database());END $$;GRANT USAGE ON SCHEMA public TO workasso_readonly;GRANT SELECT ON ALL TABLES IN SCHEMA public TO workasso_readonly;-- Tables created later by the role running this script:ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO workasso_readonly;
-- Row-level security (on by default in Supabase) hides every row from-- a new role. If your tables use it, also run:-- ALTER ROLE workasso_readonly BYPASSRLS;2. Paste the connection string
Section titled “2. Paste the connection string”Use the same host, port and database you use today, with the user workasso_readonly and the password from the script:
postgresql://workasso_readonly:PASSWORD@your-host:5432/your-databaseIf your provider needs SSL, add ?sslmode=require at the end. Use the database’s public hostname — private addresses are refused. Click Connect.
What Workasso guarantees
Section titled “What Workasso guarantees”- Checks before saving that the user can’t write. If it can, the connection is refused.
- One SELECT at a time, with a 5-second timeout and at most 50 rows, and a few queries per investigation (the card shows how many your plan allows).
- Passwords, tokens and card data are hidden from the agent.
- You see every query in the agent’s activity log.
- The connection string is stored encrypted.
To point at another database or rotate the password, open Settings on the card and use Replace connection.