Skip to content
techrace/
TECHRACE DOCUMENTATION

Your first integration

Connect one customer, with the smallest permissions your product needs.

Before you begin: a configured deployment, verified owner/admin access and an enabled provider with the required permissions.

Sign in, complete MFA and create a developer project. Your project keeps team access, customers, keys and billing together.

Open your workspace

// Server only · use the SDK supplied with Techrace.
import { TechraceClient } from './sdk/client';
const techrace = new TechraceClient({
  baseUrl: process.env.TECHRACE_API_URL,
  projectId: process.env.TECHRACE_PROJECT_ID,
  apiKey: process.env.TECHRACE_API_KEY,
});

const customer = await techrace.createCustomer({
  external_id: authenticatedCustomer.id,
  name: authenticatedCustomer.name,
});

const connection = await techrace.createConnectSession({
  customer_id: customer.customer.id,
  provider: 'gmail',
  return_url: 'https://your-app.com/connected',
});

// Your customer reviews the provider consent screen.
redirect(connection.url);
ILLUSTRATIVE · USE YOUR VERIFIED DEPLOYMENTServer-side only
Check your deployment

These guides describe implemented code and operating requirements. Enabled capabilities and permissions may differ. Use the current API specification and your project’s capability view.

OpenAPI specification