#!/bin/bash # Notion Setup Helper echo "📝 Notion API Setup" echo "==================" echo "" echo "To get your Notion API key:" echo "1. Go to https://notion.so/my-integrations" echo "2. Click 'New integration'" echo "3. Name it 'OpenClaw' or whatever you like" echo "4. Copy the 'Internal Integration Token'" echo " (starts with 'ntn_' or 'secret_')" echo "" if [ -f ~/.config/notion/api_key ]; then echo "✅ Notion API key already configured!" exit 0 fi echo "5. Then run:" echo " mkdir -p ~/.config/notion" echo " echo 'ntn_your_key_here' > ~/.config/notion/api_key" echo "" echo "6. Share your Notion pages/databases with the integration:" echo " - Open any page/database in Notion" echo " - Click '...' (three dots) in top right" echo " - Click 'Connect to'" echo " - Select your integration name" echo "" echo "Ready to test once you add the API key! 🚀"