Integrations
GitHub: articles as pull requests
For static sites built from a repository. Podium opens a pull request with each article as a Markdown file. Merging it publishes the article.
If your site is built from a GitHub repository (Astro, Hugo, Eleventy, Next.js or your own build script), Podium can deliver each article as a pull request. Nothing reaches your site until someone merges it, so every article gets a human review, even with Autopilot on.
Need help with the setup? Book a short call at cal.com/maxmiskow/30min.
What you need
- A GitHub repository your site is built from, with a folder for blog posts in Markdown.
- Your site building and deploying from that repository after a merge (GitHub Actions, Netlify, Vercel, Cloudflare Pages or similar).
- Permission to create a fine-grained personal access token with access to that repository.
Step 1. Create a fine-grained token
- On GitHub, go to Settings → Developer settings → Personal access tokens → Fine-grained tokens and click Generate new token.
- Name it "Podium" and choose an expiration. When the token expires, publishing stops until you add a new one, so pick a date you'll remember.
- Under Repository access, choose Only select repositories and pick just your site's repository.
- Under Permissions, set Contents and Pull requests to Read and write. Metadata: Read-only is selected automatically.
- Click Generate token and copy it (it starts with
github_pat_). GitHub shows it only once.
If the repository belongs to an organization, the organization may need to approve the token before it works.
Step 2. Repository and token
In Podium, go to Settings → CMS integration, choose GitHub (under For developers) and fill in:
| Field | What to enter |
|---|---|
| Repository | owner/name, as in the github.com/… address, for example acme/website |
| Token | The token from step 1 |
| Base branch | The branch pull requests target. Default: main |
| Articles folder | Where article files go, for example blog/posts/en. Each article becomes <folder>/<slug>.md |
Click Test connection. Podium checks that the token can see and write to the repository, that the base branch exists and that the articles folder exists in it. If the folder is new, create it first (an empty .gitkeep file is enough).
Step 3. Cover images and URLs
| Field | What to enter |
|---|---|
| Cover images folder | Where cover images go, for example public/images/blog. Each cover is saved as <folder>/<slug>/cover.webp |
| Cover path in file (optional) | The path prefix written into the cover field, if your blog resolves image paths from another folder. For example images/blog when files in public/ are served from the site root. Empty = the cover images folder, minus a leading design/ if there is one |
| Article URL | The address an article will have once deployed. Must include {slug}, for example https://yoursite.com/blog/{slug}/ |
| Category (optional) | A value for the category field in each article, for example web-design. Empty = no category field |
Click Save connection.
Step 4. Test pull request
Click Send test article. Podium opens a test pull request with a short article (marked draft: true). You'll find it in the repository's Pull requests tab. Nothing reaches your site unless you merge it, so close it without merging and delete its branch.
The status in Podium changes to Connected.
What each pull request contains
For every article, Podium creates a branch named podium/<slug> from your base branch, adds one commit and opens a pull request titled Article: <title>.
The commit has two files:
<articles folder>/<slug>.md: the article.<cover images folder>/<slug>/cover.webp: the featured image, converted to WebP (up to 1,600 px wide). If the article has no featured image, there's no cover file.
The pull request description is written for whoever approves the article:
- the file paths and the URL the article will have after deploy,
- a link to the article in your Podium dashboard,
- the keyword: main and secondary keywords, search volume and difficulty (when available) and the opportunity score,
- the quality check result and any warnings,
- the external sources the article cites, as a checklist. Podium doesn't check whether those links work or say what the article quotes them as saying, so it's worth a look before you merge.
If a file with the same name is already in the repository and didn't come from Podium, the description warns you that the pull request will overwrite it.
The description is in your dashboard language.
The article file
The file starts with frontmatter fields, followed by the body in Markdown:
---
title: How much do dental implants cost in Chicago in 2026?
description: What a dental implant costs in Chicago, what's included and how to pay less.
date: 2026-11-21
topic: Cost
category: dental
keyword: dental implants chicago
keywords: implant cost chicago, dental implant price
summary: A single implant in Chicago usually runs $3,500 to $6,000, including the crown.
cover: images/blog/dental-implants-cost-chicago/cover.webp
cover_alt: Dentist placing an implant
draft: false
source: podium
podium_id: cmf8x2k0p0001
---
## What affects the price
…
| Field | What it holds |
|---|---|
title | Article title |
description | Meta description (or the excerpt, if there's none) |
date | Date of first publication, YYYY-MM-DD. It never changes on later updates |
updated | Date of the latest update. Only added when an article is updated on a later day |
topic | One or two words from the article format: Guide, How-to, List, Roundup, Comparison, Explainer, Cost, Troubleshooting, Checklist or FAQ |
category | Your category from step 3. Left out if empty |
keyword | Main keyword |
keywords | Secondary keywords, comma-separated. Left out if there are none |
summary | The short answer from the top of the article |
cover, cover_alt | Cover path and alt text. Both are left out if there's no cover |
draft | true in draft mode and for the test article, otherwise false |
source | Always podium |
podium_id | Stable article ID in Podium |
Each field takes a single line. A value that starts or ends with a quote mark is wrapped in double quotes.
The body uses a deliberately small set of Markdown that any static-site generator can handle: ## and ### headings, paragraphs, - and 1. lists (not nested), > quotes, | tables, images as  on their own line, bold, italics, inline code and links. There's no raw HTML. The body leaves out the H1 (it's in title), the short answer box (it's in summary), the table of contents and the JSON-LD. The FAQ always comes last, under the heading ## Frequently asked questions, so your template can turn it into FAQ structured data.
File names use the slug: lowercase letters, digits and hyphens only, up to 80 characters.
Merging = publishing
- Open pull request: Podium shows the article as a draft, even with Autopilot on. It's not live yet.
- Merged: once the file is in your base branch, Podium marks the article as published. Podium checks pull requests once a day, so the status can lag by up to a day. Your site's own build and deploy put it online.
- Closed without merging: Podium marks the article as archived and doesn't send it again.
Updates
When an article changes in Podium:
- If its pull request is still open, Podium adds a new commit to the same branch and refreshes the description. You never get a second pull request for the same article while one is open.
- If its pull request was already merged or closed, Podium opens a new one from a dated branch,
podium/<slug>-<yyyymmdd>. The file keeps its originaldateand gets anupdatedfield.
Draft mode
With Autopilot off (Settings → Publishing & style), the file arrives with draft: true, and the pull request notes that the article is left out of the sitemap. How your site treats draft: true is up to your build. Every article already waits for your merge either way, so many teams leave Autopilot on and use the pull request as the review step.
Connection status
| Status | What it means | What to do |
|---|---|---|
| Not connected | No connection yet | Follow the steps above |
| Awaiting test | Settings saved, the test pull request hasn't gone through yet | Click Send test article |
| Connected | Everything works | Nothing |
| Needs attention | The last delivery failed | Read the message on the integration card and check the table below. Articles wait in Podium, nothing is lost |
Troubleshooting
| Message | Most likely cause | Fix |
|---|---|---|
| "We can't find repository …" | A typo in owner/name, or the token doesn't include this repository | Check the name. In the token settings, add the repository under Repository access |
| "The token can see … but can't write to it" | Contents or Pull requests is set to Read-only | Edit the token and set both to Read and write |
| "There's no branch … in …" | The base branch name is wrong | Enter the branch your site deploys from, for example main or master |
| "Branch … has no … folder" | The articles folder doesn't exist in the base branch | Create it (a .gitkeep file is enough) or fix the path |
| "GitHub rejected the token (401)" | The token expired or was deleted | Generate a new token, then click Reconnect on the integration card and paste it |
| "GitHub denied access to … (403)" | Missing permissions, or the organization hasn't approved the token | Check the permissions from step 1 and the organization's token approval |
| "GitHub: API rate limit reached" | Too many API requests in a short time | Nothing. Podium retries on its own |
| "GitHub: too many … branches today" | Several pull requests for the same article are piling up | Merge or close the open pull requests |
| The PR is merged but the site hasn't changed | Your build or deploy didn't run, or it skips draft: true | Check your CI or hosting logs and the draft field |
Disconnect
Settings → CMS integration → Disconnect. Podium deletes the stored token and stops opening pull requests. To be safe, also delete the "Podium" token on GitHub under Settings → Developer settings → Personal access tokens → Fine-grained tokens. Open pull requests and merged articles stay in your repository.
Security
- A fine-grained token only sees the repository you picked, and only with the permissions you granted.
- Podium never pushes to your base branch. It only creates
podium/…branches and pull requests. - We encrypt the token (AES-256-GCM) and delete it when you disconnect.