# Notion

Using the Notion public API to create integrations in Dapta

### Create a Notion integration

1. Log in to <https://www.notion.so/my-integrations> with your account credentials.
2. Create the integration: Assign the workspace and Name to identify it.
3. Save the API Key.
4. Go to your workspace and select the section you want to work on.
5. Go to the `...` on the top left, and in the add connections option: Select your integration.

Learn in this tutorial:

* Create and activate an integration in your Notion workspace.
* Create a database in Notion using its API through Dapta.

{% embed url="<https://vimeo.com/845036593/2a1386037b?share=copy>" %}

### Create new records in your database in Notion

Learn in this tutorial:

* Duplicate APIs in Dapta.
* Create new records in your Notion database using its API through Dapta.

<mark style="background-color:yellow;">Notion Docs:</mark> [<mark style="background-color:yellow;">https://developers.notion.com/reference/post-page</mark>](https://developers.notion.com/reference/post-page)

{% embed url="<https://vimeo.com/845079872/cf6d2bb508?share=copy>" %}


---

# Agent Instructions: 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:

```
GET https://docs.dapta.ai/integrations/notion.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
