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

# Notion

Information about our Notion Connector

You can access your Notion [pages](https://developers.notion.com/docs/working-with-page-content) and [databases](https://developers.notion.com/docs/working-with-databases) through our software and dynamically create new ones.

If you like to connect to Notion please create an [Authentication](https://app.locoia.com/settings/connector-auth/). A popup will open. After logging in with your credentials you will be asked for permissions:

<img src="https://291121471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McrRFZHYH27bqKzOVDd%2Fuploads%2F4AuVR3xxpWt4KL0aCDnM%2Fimage.png?alt=media&amp;token=c4fbb242-471d-4fca-a139-0c815f06a53d" alt="" data-size="original">

After clicking an **Select pages** you will be forwarded to the next page. There you can select the pages from your workspace that you like to connect.

![](https://291121471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McrRFZHYH27bqKzOVDd%2Fuploads%2FcEAwMzn2JCVgvAQdhB4Z%2Fimage.png?alt=media\&token=a32039e0-1e66-461f-b3fb-275c7e5196f9)

{% hint style="warning" %}
If you create new pages on top level of your workspace (pages having no other parent than the workspace), then you need to create a new authentication or edit the existing one and select those pages. Otherwise they will not be accessible through Locoia.
{% endhint %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.locoia.com/connectors/connectors/notion.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
