Dashboard
Quickstart Guide

Get up and running in 5 minutes

Add AI-powered communication context to your app. Connect your users' Gmail, Slack, and more — then query their data with natural language.

1
Get API Key
2
Create User
3
Add Connect
4
Query Data
Step 1

Get your API key

10 seconds

Sign up for a free Attrove account and create your first API key. You can create separate keys for development and production environments.

Free tier included: Get started with 500 API calls per month at no cost. No credit card required.
Create API Key
Step 2

Create a test user

1 minute

Call the /v1/users endpoint to provision a user. Each user represents one of your end-users who will connect their communication accounts.

import { Attrove } from '@attrove/sdk';

const admin = Attrove.admin({
  clientId: process.env.ATTROVE_CLIENT_ID,
  clientSecret: process.env.ATTROVE_CLIENT_SECRET,
});

const { id, apiKey } = await admin.users.create({
  email: 'user@company.com',
});
// id: user UUID — apiKey: sk_ token for API calls
Step 3

Add the connect button

2 minutes

Add a connect button to your app that redirects users to Attrove's OAuth flow. Once connected, you'll be able to query their communication data.

Preview: What your users will see
import { Attrove } from '@attrove/sdk';

const admin = Attrove.admin({
  clientId: process.env.ATTROVE_CLIENT_ID,
  clientSecret: process.env.ATTROVE_CLIENT_SECRET,
});

// Generate a short-lived token for the connect flow
const { token } = await admin.users.createConnectToken(userId);

// Redirect user to connect their Gmail
const connectUrl = new URL('https://connect.attrove.com/integrations/connect');
connectUrl.searchParams.set('provider', 'gmail');
connectUrl.searchParams.set('token', token);
connectUrl.searchParams.set('user_id', userId);
window.location.href = connectUrl.toString();
Step 4

Query user data

1 minute

Once users have connected their accounts, use natural language queries to search across their communication data. Our AI understands context and returns relevant results with source citations.

Usage-based pricing: Each query counts against your plan's monthly quota. Check your dashboard for current usage.

Example queries to try:

import { Attrove } from '@attrove/sdk';

const attrove = new Attrove({
  apiKey: userToken, // sk_ token from Step 2
  userId,
});

const { answer, used_message_ids, used_meeting_ids, used_event_ids } = await attrove.query(
  'What did we promise ACME last week?',
  { timezone: 'America/Los_Angeles' }
);
console.log(used_message_ids, used_meeting_ids, used_event_ids);

You're ready to build!

Your integration is set up. Start building AI-powered features with your users' communication data.