Notion
Baz's Notion Integration
Connect Baz to your Notion workspace to allow Baz to read ticket data directly from your Notion database. This enables richer PR context, improved spec validation, and more accurate review insights.
Baz uses this context to:
Enrich AI-generated summaries and topics with your business objectives.
Tailor prompts to reflect the goals and constraints from the Notion ticket.
Help reviewers focus on what’s important by aligning code changes to the original intent.

Configuring Baz & Notion
Step 1: Create a Notion Internal Integration
Go to Notion’s internal integrations page.
Create a New Integration:
Click “New integration”
Select the Notion workspace that contains your ticketing system
Grant the integration the required capabilities - read access is required for Baz to consume ticket data.
Copy the internal integration secret:
Copy the Internal Integration Secret
This is your API token, you will paste this into Baz in the next step
Grant the integration access to your ticket database
Option A (recommended): From the Integration Settings
Go to the Content access tab
Select the relevant page or database that contains your ticketing system
Option B: From the Database Page
Navigate to the relevant database page in Notion
Click Share
Add your new created integration
Confirm access
Once completed, the integration can access your ticket data.
Step 2: Configure Notion in Baz
Go to Baz → Integrations → Notion
Fill in the following fields:
API Token
Paste the Internal Integration Secret you copied from Notion.
Database URL
Copy the full URL of your Notion ticket database directly from your browser and paste it here.
ID Property Name
The name of the property (column) in your Notion database that represents the ticket ID.
Common default:
IDIssue Type Property Name (Optional)
If your tickets include a type field (e.g., Bug, Feature, Task), provide the name of that property here.
Example:
TypeFiles Property Name (Optional)
If you attach files to tickets using a database property, provide the name of that property here.
Example:
file
Click Save in Baz to complete the integration.
Baz will now be able to read ticket data from your Notion database and use it to enrich PR context and review flows.
Tip: Baz detects relevant Notion tickets when the PR title contains a ticket pattern in the format
ABC-123, whereABCis any uppercase prefix and123is the issue ID.
How Baz Uses Notion Data
When connected, Baz pulls:
Story title and description - used to shape review summaries and reasoning.
Story type (feature, chore, bug) - helps set reviewer expectations.
Acceptance criteria - injected into review prompts to guide validation.
Comments and discussion threads - used to enrich reviewer understanding.
This context flows through all downstream Baz workflows:
Summaries reflect the purpose of the story.
Break down topics based on feature or flow relevance.
Guide reviewers to evaluate changes through the lens of what the ticket was designed to accomplish.
Last updated