Publishing integration
Publish to Drupal
Publishes via Drupal core's built-in JSON:API, no contrib module required (Basic auth module must be enabled).
How it works
Uses Drupal core's JSON:API, no contributed module required on Drupal 8.7 and later, authenticated with Basic Auth against a content type you configure.
Before you start
- Drupal 8.7 or later (JSON:API ships in core from this version on)
- The core "Basic auth" module enabled
- A user account with permission to create content of the target type
Setup
Three steps to connect
Step 1
Get your password
A Drupal user with permission to create the target content type. Enable the core Basic auth module.
Step 2
Enter your site details
- Site URL *
- Content type machine name *Structure -> Content types -> hover the target type's Edit link; the machine name is the last part of that URL.
- Drupal username
Step 3
Connect and publish
Once connected, approved posts publish straight to Drupal automatically. No export, no import, no copy-pasting into a CMS. Setup runs from your own client portal, so credentials for Drupal stay with you; the agency never has to hold or request them separately.
Troubleshooting
If something doesn’t connect
Connection test fails with a 401
The core "Basic auth" module has to be explicitly enabled, it usually already is, but some hardened Drupal installs turn it off. Check Extend in the admin toolbar if unsure.
Connection test fails with a 404
The content type machine name is case-sensitive and isn't the same as its display name. Check Structure, Content types for the exact machine name.
Frequently asked questions
No. JSON:API has shipped in Drupal core since 8.7. You do need the core "Basic auth" module enabled, which usually already is.
Yes. You tell it which machine name to target during setup, so it works with Article or a custom type.
Posts are created directly, so if your site uses a moderation workflow (draft, needs review, published), new content lands in whatever the default state is for that content type.
Credentials are encrypted at rest and only ever used server-side to publish. Nobody, including us, can view them again once saved.
Nothing changes on Drupal itself. Everything already published stays exactly as it is. New posts just stop syncing until it's reconnected.
Still have questions? Talk to our team.
Ready to connect Drupal?
Book a call and we'll get your site's publishing integration set up together.