> For the complete documentation index, see [llms.txt](https://docs.spara.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spara.com/integrations/document-sync-integrations/notion.md).

# Notion

How Spara integrates with Notion.

Spara can sync documents from your Notion workspace to use as knowledge for your AI agents.

### Authentication

{% hint style="info" %}
You must be a Manager-level user to manage third party integrations.
{% endhint %}

Click the "Organization Settings" link in the left hand navigation bar. Then click the "Integrations" tab.

Click "Authorize" within the Notion module. This will lead you through a Notion authentication flow. There are no further steps necessary upon completing this flow. You should see that Spara is "Enabled" within Spara's Integrations page.

<figure><img src="https://4072969777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FreCGkFdsmuPJzGP9ZgGA%2Fuploads%2Fgit-blob-e33b9e5b82b4e7c642a5d242d3669bc2bec9e1e8%2FScreenshot%202024-07-22%20at%204.24.44%E2%80%AFPM.png?alt=media" alt=""><figcaption><p>Click "Authorize" to integrate Notion with Spara.</p></figcaption></figure>

### Usage

Once connected, Spara can sync selected Notion pages and databases as knowledge sources for your AI agents. Synced documents are automatically kept up to date.

For more specific configuration options, please contact your customer support representative.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.spara.com/integrations/document-sync-integrations/notion.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
