> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neoagent.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Guru

> Connect Guru so Neo syncs your team's cards into its documentation search and agents can read and write your knowledge base

Neo Agent connects to Guru with an API token. Once connected, Neo syncs the team-shared cards the token can see, up to 5,000 a run, into its documentation search once a day, so the **Suggest Resolution** action and the **Find Documentation** tool find the card that fits a ticket. Agents can also search, read, write and verify cards, and ask Guru's AI, through the [Guru API tool](https://docs.neoagent.io/agents/tools/documentation/guru-api.md).

## Connect Guru

**1. Pick the Guru user Neo signs in as**

A user token acts as one Guru user: Neo reads the cards that user can see, and changes only what that user may change. Use a Guru user made for Neo, and give it access to the collections your technicians should read.

A collection token instead reads one collection: Guru documents it for GET requests only. Use it when Neo should only read that collection; the sync reads it, and agents do not write with it.

**2. Generate the token in Guru**

In Guru, open **Settings** → **Apps & Integrations** → **API Access**, and generate a **user token** while signed in as that user (or a **collection token** for one collection). Copy it: Guru shows it once.

**3. Add the integration in Neo**

In the Neo Dashboard, open [**Integrations**](https://dashboard.neoagent.io/integrations?open=guru) → **Documentation**, click the **Guru** tile, and enter:

* **Username**: the email of the Guru user who made the user token, or the collection id for a collection token.
* **API Token**: the token.

Neo checks the pair against Guru before it saves it.

**4. The first sync starts on its own**

Saving the token switches the Guru sync on. The first run starts on Neo's next scheduled sync check, and syncs then run daily. The Guru card on the **Integrations** page shows the last run's status, and **Trigger sync** starts a run straight away, unless one is already running. Once it finishes, your Guru cards are searchable through **Find Documentation** and reach the **Suggest Resolution** action next to every other documentation source you connected.

## What gets synced

| Content | Status |
| - | - |
| **Team-shared cards the token can see** | Synced as text, one document per card, with its collection and tags at the top. A card with less than 100 characters of text, title included, is left out |
| **Privately shared cards** | Not synced: a private card is its owner's, and every technician reads Neo's search |
| **Archived cards** | Not synced |
| **Images and files on a card** | Not synced: the card text is indexed, attached files are not |

Each synced card carries a link back to Guru. Guru holds your own knowledge, not one client's, so every card is available to every company's tickets. Every technician who can search Neo's documentation reads the synced cards, so sign in as a Guru user who sees only what your technicians should read.

A run reads at most 5,000 cards, and a card beyond that is not synced. While a workspace stays above that, Neo keeps the cards it synced earlier that a run did not reach, so a card you archive there can stay in Neo's search until a run reaches it again; disconnecting Guru removes every synced card. Later runs re-index only the cards that changed.

## Disconnect Guru

Open the **Guru** tile and choose **Disconnect**. Neo deletes the token, stops the sync and removes the synced Guru cards from its search, since nothing would keep them current. Your Guru workspace is not touched. To get the cards back, connect Guru again and the next sync indexes them.

## Troubleshooting

> [accordion] The sync found nothing
>
> The token's user sees no team-shared card. Give that user access to your collections in Guru, or check that the cards are shared with the team rather than private. A card you share appears in the next daily sync.

> [accordion] Neo says Guru refused the username and token
>
> The token was revoked or regenerated, or the username is not the email (or collection id) the token belongs to. Generate a new token in Guru and enter both values on the Guru tile.

> [accordion] Agent writes fail with 403
>
> The token is a collection token, which only reads, or the Guru user Neo signs in as may not change that card or collection. Use a user token of a user with author access to the collection.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.