Integrations / Drupal

Publish to Drupal
Drupal core's JSON:API with Basic Auth. No contrib module, Drupal 8.7 or later.
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
- 1
Get your Password
A Drupal user with permission to create the target content type. Enable the core Basic auth module.
- 2
Open Setup in your client portal
Setup shows the connection form for Drupal. If it says no integration is set up yet, message us in Questions and we’ll switch it on. Then fill in:
Field Required Notes Site URL Yes Example: https://clientsite.comContent type machine name Yes Structure → Content types → hover the target type's Edit link; the machine name is the last part of that URL.Example: articleDrupal username Yes The account the password belongs to. Password Yes From step 1. Stored encrypted; it can’t be viewed again once saved. - 3
Click Connect account
This tests the details against Drupal without creating anything. When it passes, the portal shows “Connected successfully”; if it fails, it shows the error Drupal returned.
- 4
Publish
Once a piece has passed review, it is sent to Drupal through this connection. No export, import, or copy-pasting into a CMS.
After publishing
If a published piece is revised and pushed again, the same post in Drupal is updated rather than duplicated.
Troubleshooting
| If this happens | Check this |
|---|---|
| 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.
Want Drupal set up with you?
Book a call and we’ll connect it together.