Skip to main content

What is Outlit?

Outlit is infrastructure for customer context. It connects website activity, product usage, billing, support, and conversation data, then structures it into customer profiles your team and agents can query from the CLI, MCP, or API.

Step 1: Install the CLI

Fastest path:
curl -fsSL https://outlit.ai/install.sh | bash
This installs the latest Outlit CLI release from GitHub. Prefer one of the options below if you want manual package management.
npm install -g @outlit/cli

Step 2: Authenticate

If you already have an account:
outlit auth login
New to Outlit? Start signup from the terminal:
outlit auth signup
On macOS/Linux, the CLI stores your API key at ~/.config/outlit/credentials.json with 0600 permissions. You can also pass a key directly with --key or set the OUTLIT_API_KEY environment variable.

Step 3: Connect Your First Source

Most teams start with the browser SDK to capture website visits, form submissions, and engagement automatically. Choose your framework to get started:

Script Tag

Fastest setup — one snippet

React

Hooks and context provider

Next.js

App Router and Pages Router

Vue

Composition API plugin

Nuxt

Auto-imported composables

SvelteKit

Stores and lifecycle hooks

Astro

Islands and SSR support

Angular

Injectable service

Node.js

Server-side tracking
Then connect external sources like Stripe, PostHog, Slack, Gmail, Fireflies.ai, Google Calendar, Supabase Auth, Clerk, and more from your integrations dashboard.
Outlit is infrastructure, not a CRM. It syncs your sources, resolves identities across them, structures the data into customer context, and gives you a query layer via CLI, MCP, and API.
Outlit uses cookies to track visitors across pages. If you need GDPR compliance, show a consent banner before loading the tracker. See consent management →

Step 4: Query Your Data

Once the tracker is live and you have some traffic, use the CLI to explore:
# List your customers
outlit customers list

# Get a full customer profile
outlit customers get acme.com --include users,revenue,recentTimeline

# Search with natural language
outlit search "who signed up this week"

# Run SQL directly
outlit sql "SELECT domain, billing_status, mrr_cents FROM customer_dimensions ORDER BY mrr_cents DESC LIMIT 10"
Set up coding agents to query customer context directly from Claude Code, Codex, or Gemini CLI:
outlit setup --yes
This auto-detects installed coding agents and installs the outlit skill. For MCP clients, use the direct MCP Integration → guide.

What happens automatically?

Once the browser SDK is installed, Outlit captures without any additional code:
WhatHow
PageviewsEvery page navigation, with URL, title, and referrer
Form submissionsField values with automatic sensitive-field sanitization
IdentityAuto-identifies visitors when forms contain an email field
Engagement timeActive time on each page (not just tab-open time)
AttributionUTM parameters, referrer, and landing page on first visit
Company enrichmentIP-based company identification for B2B visitor intelligence
Once you connect additional sources, Outlit merges those product, billing, support, and conversation signals into the same customer context.

Next Steps

OpenClaw + Outlit

Automated customer intelligence with cron jobs and heartbeat monitoring

How It Works

Understand how Outlit collects, resolves, and connects customer data

Customer Context Graph

Learn about the unified data model behind Outlit

CLI Commands

Full reference for querying customer data