Skip to content

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.

Tarn never writes to a source unless you turn on actions, and even then every action waits for a person to approve it.

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.

  1. Go to Settings, then Sources.
  2. Pick an app from the list, or use the API for anything else.
  3. Choose which spaces, folders or projects Tarn may read.
Start with the one source people ask about most. For most teams that is the wiki or the helpdesk.

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:

Terminal
npm install @tarn/sdk
ask.ts
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));