I used to lose tasks in the most embarrassing way.
Not because I didn’t write them down, but because I wrote them everywhere. A quick TODO in a code comment. Short summary in Google Docs. A meeting note in Notion, a follow-up buried in a terminal history. By sprint review, something always slipped through.
The problem wasn’t discipline. It was fragmentation.
As a developer advocate, I spend a lot of time in VS Code. But my team lives in Notion. Every task that started in my editor had to make a second trip into a Notion board before it became real. That extra step rarely happened immediately, and when it didn’t, context was lost.
I wanted one thing: to capture notes and tasks where I work but store them in the place where my team collaborates.
I recently found out I can also integrate Notion with Continuous AI, and I will show you how to achieve this in detail in this article.
The cost of Context Switching
Switching between tools feels harmless. But it adds up.
During a typical workday, I would:
- Write a meeting summary in VS Code
- Switch to Notion
- Recreate tasks manually
- Forget half the nuance I had while writing the note
Sometimes I skipped the Notion step entirely and told myself I’d “add it later.” Later never came.
The result was predictable:
- Missed follow-ups
- PR reviews are delayed by “I thought someone else was handling that.”
- Notes that never turned into action
- I didn’t need another task app.
- I needed less friction between thinking and tracking.
Why Continue and Notion works
As a developer, Continue already lives in my VS Code workflow. I used it to reason through problems and draft documentation. What I didn’t realize at first was that Continue could also talk directly to external tools like Notion.
With a simple Notion integration and an API key stored in my terminal session, Continue can:
- Create Notion pages
- Insert tasks into databases
- Update statuses, assignees, and due dates
- Do all of it using plain English prompts
- No copy-paste. No tab switching. Just streamlined focus.
Setting it up
The beautiful thing is that setting it up is straightforward and only needs to happen once.
Prerequisites
To integrate Continue and Notion, you will need the following setup:
- Continue CLI installed (npm i -g @continuedev/cli)
- A Notion workspace with Editor (or higher) access
- Node.js 18+ installed locally
- Continue account with Hub access
Note: Agent usage in Continue requires credits. To use agents, create a Continue API key and store it as a secret.
Step 1: Create a Notion Integration
In your browser, sign in to Notion, go to the Integration’s page (Settings - Connections - Develop or Manage Integrations)
- Click New Integration
Give your integration a name (like "Continue Integration"), select your workspace, then click Save. You will be prompted to go to the Integration configuration, click on it.
Enable:
- Read, Update, and Insert under Content Capabilities
- Read comments under Comment Capabilities.
- Read user information, including email addresses, under User Capabilities
Make sure to copy and safely keep the Internal Integration Secret.
Additionally, in your Notion homepage, you can open any page or database you would want your integration to access.
Navigate to the Database page and select the three-dot icon in the top-right corner. Under Connections, search for your specific connection, select it, and click Confirm to complete the integration. This lets your integration read and write to those pages.
Step 2: Configure Notion key in your Environment with VS Code
Open the terminal in your VS Code and navigate to your project directory. Enter this command:
export NOTION_API_KEY="secret_xxx"
Replace “secret_xxx” with the Internal Integration Secret you copied. This makes the key available in the current session. You can save the key in a .env file for easy access, but make sure to add .env to your gitignore to keep it private.
Next, if you have a specific database (like a “Tasks” list), find its ID by opening the database in Notion and looking at the URL (it’s the long string after the last / and before ?). Then run:
export NOTION_DATABASE_ID="your_database_id"
This tells Continue which database to use if a prompt refers to “my database.”
Note: Continue will automatically use the NOTION_API_KEY you set when you run it. You don’t need to manually call the Notion API – just reference “the API key stored in this session” in your prompts.
Step 3: Link and Test Notion in Continue CLI
In the terminal (in your project directory), type cn and press Enter. This launches Continue in interactive (TUI) mode. You should see a prompt where you can type instructions.
Try a prompt, for example:
1. Fetch my Tasks database using the Notion API key stored in this terminal.
2. Create a new task named "Buy groceries" with status "To Do".
Press Enter. Continue will list the actions it plans to take (e.g., creating a new database entry) before doing them. Review and approve each action. This will create a new item in your Notion database.
Also, if you trust your prompt and want to skip confirmations, you can run a one-liner like:
cn -p --auto "1. Fetch my Tasks database. 2. Create a new task 'Write report' with status 'In Progress'."
The -p flag skips the interactive UI, and --auto auto-confirms actions.
After running your prompt, switch to Notion to confirm the changes. The new task(s) should appear in your database. You can update or query entries by running new prompts, e.g., “Find tasks due tomorrow” or “Mark task X as done.” Continue handles the details via the Notion API.
Congratulations, you can now seamlessly manage your project tasks in Notion through Continue’s CLI, all from within VS Code.
What’s Next?
At the end of the day, the value of this integration isn’t novelty; it’s alignment. Your thoughts start in the editor, your work lives in Notion, and Continue quietly connects the two without demanding extra effort. By capturing notes and tasks as they’re created, you remove the most significant source of workflow failure: delay. The result is fewer missed follow-ups, clearer ownership, and a system that works with how developers already think and write.
If you want to go further, Continue supports a wide range of example prompts and workflows you can adapt to your own setup, from task automation to documentation and planning flows. I highly recommend exploring those examples to see what’s possible and to refine prompts that fit your day-to-day work. You can find them here.





Top comments (0)