How to Get Your Notion API Key: From Integration to Database Connection

Notion API keyhow to get Notion API keyNotion integration tokenNotion internal integration secretNotion API token
How to Get Your Notion API Key: From Integration to Database Connection

A connector's setup screen — or a tutorial you're following — tells you to "enter your Notion API key," but you can't find where that "key" actually lives. You dig through every Notion setting and nothing looks like it.

Getting a Notion API key is just a few clicks once you know where to look. You don't need to be a developer, and it doesn't cost anything. But there's one trap: even after you get the key, forgetting one step leaves you stuck with a "permission error, nothing works" state. That's where most people get stuck.
This guide walks you through getting a Notion API key (officially, an "integration token") using Notion's current screens, and heads off that "it doesn't work" problem before it happens. The flow is three steps: ① create an integration → ② copy the token → ③ connect it to the database you want to use. By the end, you'll have a key that's actually ready to use.
One thing first. If the reason you're here is to automatically save meeting notes to Notion, there are ways to do it besides getting an API key and wiring it up yourself. Which approach fits you best is compared in detail in How to Auto-Post Meeting Notes to Notion: No-Code vs. API Code vs. All-in-One — it's worth reading first to decide whether you even need an API key.
If you want to automate more than meeting notes, or you simply want to use the API yourself, read on — we'll get your API key sorted from start to finish.

What is a "Notion API key"? It's an integration token

Before the steps, let's line up one piece of terminology. Get this wrong, and you'll wander the settings looking for an "API key" that isn't there.

Notion has no menu literally called "API key." What Notion officially calls it is the integration (connection) token. In other words:
A Notion API key = the token issued when you create an integration

That token is the key that lets an outside tool or your own code access your Notion.

There are two kinds of integration:

TypeUse caseWhich one?
Internal integrationUsed only within your own workspacePick this for personal automation/connections
Public integrationAn app distributed to many usersFor developers building distributable apps
If you want to "automatically push data into my Notion notes database" or "connect to Zapier or Make" — any automation for yourself — the choice is an internal integration, full stop. This guide assumes an internal integration throughout.
The token you receive is a long string starting with ntn_ (for tokens created after September 2024; older secret_ tokens still work). Just remember: this is your password-equivalent key.
If you haven't yet figured out what the Notion API can even do, read What Is the Notion API? A Plain-English Guide first — it makes the rest of these steps click into place.

The big picture: three steps

Before the details, here's the map to the finish line. Getting a Notion API key into a usable state takes three steps.
StepWhat you doTimeIf you skip it…
① CreateCreate a new integration1–2 minYou never get the key
② CopyCopy the token (API key)30 secNo key to paste into your connector
③ ConnectConnect the integration to your DB/page1 minPermission error, nothing works
The three steps to a Notion API key: create, copy, connect
The catch is that most articles and most people stop at ① and ②, feeling "done," and forget ③. But Notion won't show your token a single page until you do step ③. Only then can the API actually read and write.

Keep that in mind as we go.

Steps 1–2: Create an integration and copy the token

Steps ① create and ② copy are one continuous task, so we'll do them together.

Open the developer page

In your browser, go to:

From the Notion app, you can also get there via SettingsConnections → (at the bottom) Develop your own connections / Develop or manage integrations.
Gotcha: Creating an integration generally requires being an owner of that workspace. If the create button is greyed out or missing in a company workspace, ask an admin or try it in a workspace you own.

Create a "New integration"

Click + New integration, then fill in:
  1. Name: something you'll recognize later (e.g. Meeting notes sync, For Zapier)
  2. Associated workspace: select the workspace you want to connect
  3. Type: choose Internal

Save, and the integration is created.

Copy the token (your API key)

On the integration's settings screen (or its ••• menu in the list), you'll find a field called Internal Integration Secret. That's your Notion API key.
Click Show, and a string starting with ntn_ appears. Hit Copy and keep it somewhere safe. That string is what goes into the "Notion API key" or "token" field of your connector.

Check the capabilities

The same settings screen has a Capabilities section. Choose permissions based on what the API should do:
  • Read content: read pages and databases in Notion
  • Insert content: add new pages and blocks
  • Update content: modify existing pages
  • User information: read workspace member info (choose "No user information" if you don't need it)
For example, to write meeting notes into Notion, enable Insert and Update content. When in doubt, enabling read/insert/update covers most use cases.

At this point you have the key itself. But you're not done — the final step ③ is the one that matters most.

Step 3: Connect it to your database (where 9 in 10 people get stuck)

This is the crux of the whole guide.

With only a token issued, your integration can't see any page in your Notion. For security, Notion shows nothing until you explicitly grant access — "this page (database) allows this integration in." Until you do, it stays blind.
So you connect your created integration to the database or page you want to use:
  1. Open the database (or page) you want the API to work with in Notion
  2. Click the ••• (three-dot menu) in the top right
  3. Choose Connections
  4. Search for and select the integration you just created
  5. Confirm in the dialog
Now the API can read from and write to that database. Copying the token (②) and connecting to a page (③) are two separate tasks — once you've got that, you won't get stuck.

Note: if you connect to a parent page instead of a single database, the access extends to the pages and databases nested under it. To connect several databases at once, connecting at a higher-level page is easier to manage.

"I got the key but it doesn't work": permission errors and fixes

If you followed the steps it should just work — but if your connector or code throws an error, it's almost always one of these. Stay calm and narrow it down.

Symptom / errorCommon causeFix
Could not find object / 404Forgot to connect to the DB (step 3)On the target DB/page, ••• → Connections → add your integration
401 UnauthorizedWrong token / copy mistakeRe-copy the token; check for stray spaces or line breaks
Only writes failInsufficient CapabilitiesEnable Insert/Update content in settings
No databases visibleUsing a token from another workspaceConfirm the token was created in the same workspace as your connection
In practice, the top cause by far is that first one — the missing connection. When you've "pasted the token correctly but still get Could not find object," check whether you've connected the integration to the target database.

Storing your API key (token) safely

One last note on handling. A Notion API key is a password-equivalent key that can read and write your Notion.
  • Don't expose it: never paste it into committed code, chats, or screenshots
  • Store it safely: keep it in a .env file or environment variable — and a secrets manager for production
  • Regenerate if leaked: refresh the token from the settings menu, and the old one is instantly invalidated
For the record, using the Notion API and integrations is free. Getting or holding a key never triggers a charge.

You might not need an API key at all

Having walked you through the whole thing, here's an honest note to close on.

The most common reason people want a Notion API key is to automatically save meeting notes to Notion. If that's your goal, there's actually a way to do it without issuing an API key at all.
For example, the Mac screen-recording app "Qureco" records your meeting, has AI auto-generate the notes, and saves them to Notion with one click. No token to issue, no code, no monthly connector fee — you just connect to Notion inside the app.
Qureco syncing AI-generated notes to Notion
Qureco official site

If all you want is "meeting records piling up in my Notion database," you can skip the API setup entirely and get there fastest.

On the other hand, if you want to automate something other than meeting notes, or build out formats and connections in detail yourself, then getting an API key with the steps above is the right call. Now that you know both, pick the one that fits.

Once you've got the token, the natural next question — "so how do I actually use it to post notes?" — is covered here:

Wrapping up

From being stuck at "enter your Notion API key," you should now have a key that actually works. Quick recap:

  • A Notion API key = an integration token. Create an internal integration at notion.so/my-integrations and copy it (a string starting with ntn_).
  • Getting it takes three steps: ① create → ② copy the token → ③ connect to your target DB. It only works once you finish ③.
  • The "I got the key but it doesn't work" error is usually a missing connection to the target database.
  • A token is password-equivalent: don't expose it, store it safely, and regenerate it if it leaks.
  • If your goal is just saving meeting notes to Notion, there's an all-in-one route that skips the API key entirely.

Whether you master the API or pick the no-setup path, you'll end up in the same place: records quietly accumulating in your Notion.

Qureco

Qureco Screen Recorder

Powerful screen recording app for Mac

Record meetings, let AI handle the notes, just read what arrives in Notion.Try all features free for the first month.

No Setup RequiredNo WatermarkAI Meeting NotesNotion Integration

About the Author

Shunsuke Inoue

Shunsuke Inoue

CEO, Qurio Inc.

Founder of Qurio, an AI consulting company. Majored in AI at Sophia University and founded the AI research circle "SOMA." As CEO of JPMT Inc., developed "MinPro" (1,300+ users) and business analysis SaaS "Optpath." Established Qurio Inc. in October 2025, focusing on AI and data development consulting. Speaker at the 30th Nikkei Forum "Future of Asia." Committed to promoting technological advancement and creating new value through AI.