#How do I use a setup notion api?
1 messages ยท Page 1 of 1 (latest)
@fickle kiln please help here. I need to sync my notion api
What I'm trying to do
I want to add my Notion API key to Clawdbot/OpenClaw configuration. During the initial openclaw onboard setup wizard, I was prompted to set various API keys (GOOGLE_PLACES_API_KEY, GEMINI_API_KEY, OPENAI_API_KEY, ELEVENLABS_API_KEY, etc.), but I skipped them all by selecting "No".
Now I want to add my Notion Integration Token, but the onboarding wizard doesn't appear again when I run the setup.
What I expected
I expected to either:
- Re-run the onboarding wizard to add API keys I skipped
- Find a way to manually add Notion API credentials to the configuration
What happened instead
The setup wizard doesn't prompt me for API keys again after the initial onboarding. I don't see any prompts for Notion API configuration.
What I've tried
- Running
openclaw onboardagain (doesn't show API key prompts) - Looking for configuration files in
~/.openclaw/and~/.clawdbot/
My questions
- How can I add my Notion Integration Token after skipping it during initial setup?
- Where should I manually add the
NOTION_TOKENin the configuration? - Is there a command to re-trigger the API key setup wizard?
- Should I add it to:
~/.openclaw/clawdbot.jsonunderenvironment?~/.openclaw/credentials/as a separate file?- Somewhere else?
My environment
- OS: macOS (M4 MacBook Air)
- Install method: Homebrew (
brew install clawdbot)
Based on the docs, here's what you need to know about adding a Notion Integration Token:
TL;DR
Notion isn't built into Clawdbot โ you'll need to add the token as an environment variable yourself, then use it in a custom skill or plugin.
Where to add NOTION_TOKEN
Pick one of these approaches (in order of simplicity):
Option 1: Add to ~/.clawdbot/.env (recommended)
echo "NOTION_TOKEN=secret_your_integration_token" >> ~/.clawdbot/.env
clawdbot gateway restart
Option 2: Add to your config file
Edit ~/.clawdbot/clawdbot.json:
{
env: {
NOTION_TOKEN: "secret_your_integration_token"
}
}
Then run clawdbot gateway restart.
How to use it
Since Notion isn't a built-in provider, you'll need to:
- Create a custom skill that uses the Notion API
- Reference the token in your skill code as
process.env.NOTION_TOKEN