# Notion

> This page is about FlutterFlow (the app builder you use by describing your app), not FlutterFlow Studio.

URL: https://docs.flutterflow.io/ffx/notion

Connect Notion, then ask the agent to show rows from your Notion databases in your app and add rows to them.

Use Notion to read and add rows in the databases that you share, such as a task list, a content calendar, or a CRM. To connect, you sign in with Notion or paste an internal integration secret.

## Connect Notion {#connect-notion}

Your app reaches only the Notion pages and databases that you share with the [connection](https://docs.flutterflow.io/ffx/glossary#backend-and-data). Only a project owner can connect Notion.

To connect with a secret, first create an internal integration on Notion's integrations page, and copy its secret, which starts with `ntn_` (or `secret_` for an older integration). Then, in Notion, share each database that your app uses with the integration, from the database's ⋯ › Connections.

If you're a project owner, connect Notion:

1. Open **Project Settings › Connections**, and then turn on the **Notion** switch.
2. In the **Connect Notion** dialog, choose how to connect:
   - **Sign in with Notion**: sign in to Notion in the tab that opens, and then pick the pages and databases to share.
   - **Paste an integration secret**: paste the secret into **Internal integration secret**, and then click **Connect**. **Find it** opens Notion's integrations page.

For more about connecting, see [Connect a service](https://docs.flutterflow.io/ffx/connect-a-service).

## What to ask

With Notion connected, your app can read and add rows in the databases that you share. In your request, name the database and the properties to show or fill.

> Example request: "Add a Tasks screen that lists the rows of my Team tasks database in Notion, with each task's status and due date."

> Example request: "When a signed-in person submits the feedback form, add a row to my Feedback database in Notion with their message in the Comment property and their score in the Rating property."

## Agent questions {#what-the-agent-may-ask-you}

If Notion isn't connected, the agent asks you to connect it in a card above the message box. See [Connect when the agent asks](https://docs.flutterflow.io/ffx/connect-a-service#connect-when-the-agent-asks).

## Review {#check-the-result}

After the agent finishes, read the turn's [**Summary**](https://docs.flutterflow.io/ffx/what-changed#summary) and review its [**Changes**](https://docs.flutterflow.io/ffx/what-changed#changes-tab). Check the affected screens in **Screens**, and try the change in **Preview**. If the change uses records or sign-in, test it with [the thread's own data in **Data**](https://docs.flutterflow.io/ffx/thread-data).

After you push a backend change, check the result in **Backend**.

## Call limit {#call-limit}

Your app and the agent share a limit of 60 calls a minute to Notion through your app's connection. See [Limits](https://docs.flutterflow.io/ffx/limits#connections).

## Push {#push-it}

When the feature works, [push the changes to your app](https://docs.flutterflow.io/ffx/push).

## Chat connections {#chat-connections}

**Account › Chat connections** also lists Notion. That connection is separate: it's your own Notion account, which the agent uses as you in your threads, and your app doesn't use it. See [Tools for the agent](https://docs.flutterflow.io/ffx/agent-tools).

## Next steps

- To replace the secret or disconnect Notion, see [Manage connections](https://docs.flutterflow.io/ffx/manage-connections).
- For other services your app can use, see [Available services](https://docs.flutterflow.io/ffx/services).

## Troubleshooting {#if-something-goes-wrong}

If the agent can't find a database, or Notion refuses a call to it, check that the database is shared with the connection: in Notion, open the database's ⋯ › Connections. For a secret that's refused or a connection that needs attention, see [Troubleshoot connections](https://docs.flutterflow.io/ffx/troubleshoot-connections).
