Docs / Start here
Getting started
Set up a workspace, connect your first source and ask a question. It takes about fifteen minutes.
Before you start
You need an admin account for at least one source, such as your wiki or helpdesk. Tarn asks for read-only access, and you can remove it at any time.
1. Create a workspace
Sign up with your work email. Pick a name for the workspace and the region your data lives in: EU (Frankfurt) or US (Virginia). The region cannot be changed later.
2. Connect a source
Open Sources, choose an app and sign in with an admin account. Tarn starts reading right away. Small sources are ready in minutes; a large wiki can take a few hours in the background.
- Go to Settings, then Sources.
- Pick an app from the list, or use the API for anything else.
- Choose which spaces, folders or projects Tarn may read.
3. Ask a question
Type a question in the browser app, or mention Tarn in chat. Each answer lists its sources. Click a number to open the passage it came from. If Tarn cannot find a source, it says so instead of guessing.
4. Invite your team
Invite people by email, or turn on SSO on Business plans. Everyone sees answers built only from what they can already open, so you do not need to set permissions twice.
5. Make your first API call
Create a key in Settings, then API. Install the SDK and ask a question for a given person:
npm install @tarn/sdk
import { Tarn } from "@tarn/sdk";
const tarn = new Tarn({ apiKey: process.env.TARN_KEY });
const res = await tarn.answers.create({
question: "What's our refund window for annual plans?",
user: "ana@acme.example", // answers follow this person's access
});
console.log(res.answer);
console.log(res.sources.map((s) => s.title));