#How do I use a setup notion api?

1 messages ยท Page 1 of 1 (latest)

honest veldt
#

it's only asking for

โ—‡ Set GOOGLE_PLACES_API_KEY for goplaces?
โ”‚ No
โ”‚
โ—‡ Set GEMINI_API_KEY for nano-banana-pro?
โ”‚ No
โ”‚
โ—‡ Set OPENAI_API_KEY for openai-image-gen?
โ”‚ No
โ”‚
โ—‡ Set OPENAI_API_KEY for openai-whisper-api?
โ”‚ No
โ”‚
โ—‡ Set ELEVENLABS_API_KEY for sag?
โ”‚ No

#

@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:

  1. Re-run the onboarding wizard to add API keys I skipped
  2. 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 onboard again (doesn't show API key prompts)
  • Looking for configuration files in ~/.openclaw/ and ~/.clawdbot/

My questions

  1. How can I add my Notion Integration Token after skipping it during initial setup?
  2. Where should I manually add the NOTION_TOKEN in the configuration?
  3. Is there a command to re-trigger the API key setup wizard?
  4. Should I add it to:
    • ~/.openclaw/clawdbot.json under environment?
    • ~/.openclaw/credentials/ as a separate file?
    • Somewhere else?

My environment

  • OS: macOS (M4 MacBook Air)
  • Install method: Homebrew (brew install clawdbot)
fickle kilnBOT
# honest veldt ### What I'm trying to do I want to add my Notion API key to Clawdbot/OpenClaw c...

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:

  1. Create a custom skill that uses the Notion API
  2. Reference the token in your skill code as process.env.NOTION_TOKEN