Skip to content
techrace/
TECHRACE DOCUMENTATION

Your first integration

Create a customer record, then connect one provider account with the smallest permissions your product needs.

WorkspaceCustomerConnectionAPI test

Start with a configured deployment. Key and settings changes require verified owner/admin access; connecting an account also requires an enabled provider with the right permissions.

Personal checklist0 of 6 marked complete

Your notes for this page only. Checkmarks do not verify account or provider setup.

Sign in, complete MFA and create your workspace. This is the developer project used in API requests; it keeps your team, customers, keys and billing together.

Open your workspace

Full setup requirements

Detailed permissions, redirect, discovery and recovery requirements for each step.

1. Create your workspace

Sign in using an enabled method, verify your authenticator, then create a workspace (developer project in the API). You become its owner. The workspace contains your team, API keys, customer records and one shared connection allowance and bill. Sign-in requires the deployment to be configured.

2. Create a server API key

Expand Developer tools and open API keys as a verified owner or administrator and select only the scopes your backend needs. Current role, email and MFA are rechecked when saving. Copy the secret once into your secret manager. Never expose it in a browser, mobile app, URL, repository or AI prompt. If creation times out, inspect the key list before creating a replacement.

3. Choose your return URL

Send return_url with each connection request: the page in your app where the customer lands after consent. It must be an https address (or http://localhost while testing); there is nothing to register in advance.

4. Add a customer and request consent

Create a customer using your own authenticated customer ID as external_id. Request a connection session for an enabled provider. Redirect that customer to the returned URL so they can review the provider permissions and select an eligible account. Facebook Page and YouTube channel discovery follows bounded pagination; oversized or incomplete sets return an error instead of silently hiding later accounts.

5. Check the connection

List connections for the same project and customer. Use the connection ID for an implemented operation. A catalog listing alone does not mean the provider is enabled or approved.

6. Handle results

Read the operation receipt and verify signed event deliveries. Treat ambiguous mail sends as uncertain; do not submit a replacement automatically. Test revocation, cancellation and errors before launch.