If you are using Formbricks Cloud, you will need to configure this
integration differently. Please follow this guide
here to set it up.
Setup
Enabling the Notion Integration in a self-hosted environment requires a setup using Notion account and changing the environment variables of your Formbricks instance.- Sign up for a Notion account, if you don’t have one already.
- Go to the my integrations page and click on New integration.
- Fill up the basic information like Name, Logo and click on Submit.
- Now, click on Distribution tab on the sidebar. A text will appear which will ask you to make the integration public. Click on that toggle button. A form will appear below the text.
-
Now provide it the details such as requested. Under Redirect URIs field:
-
If you are running formbricks locally, you can enter
http://localhost:3000/api/v1/integrations/notion/callback
. -
Or, you can enter
https://<your-public-facing-url>/api/v1/integrations/notion/callback
-
If you are running formbricks locally, you can enter
- Once you’ve filled all the necessary details, click on Submit.
-
Now just copy from the screen the Client ID and Client secret for your integration & add it to your Formbricks environment variables as in the docker compose file:
-
NOTION_OAUTH_CLIENT_ID
- OAuth Client ID -
NOTION_OAUTH_CLIENT_SECRET
- OAuth Client Secret
-