Dark banner graphic showing "Drupal" and "matrix" connected by a line.

Drupal Meets Matrix part 1: Setting up Matrix API

By John Locke on August 31, 2026

I've been maintaining the matrix_api module on Drupal.org since 2016, nearly a decade of it doing one thing well: posting Drupal events into a Matrix room. This year that changed. matrix_api is becoming a real, bidirectional bridge between Drupal and Matrix, and I'm documenting the build in a new video series, Drupal Meets Matrix.

The first video is up: setting up the matrix_api module and connecting Drupal to a Matrix homeserver - the foundation for everything else in the series, from content sync to identity bridging to an application server that lets Matrix and Drupal talk both ways.

This isn't a hypothetical integration. It's the same system powering Carina, our internal Drupal-based management hub here at Freelock, and it's the foundation of my work as Matrix integration lead for Drupal's Groups Initiative, an effort to give Drupal communities an alternative to renting space on someone else's Slack.

If you run a Drupal site and want your content and your community's chat to actually talk to each other, this series is for you. Watch the first episode, and subscribe for the rest as it's built, in public.

Add new comment

The content of this field is kept private and will not be shown publicly.

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <blockquote cite> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h1> <h2 id> <h3 id> <h4 id> <h5 id> <p> <br> <img src alt height width>
  • Lines and paragraphs break automatically.

Drupal Canvas — Block HTML (locked)

  • Allowed HTML tags: <strong> <em> <u> <a href> <p> <br> <ul> <ol> <li>

Drupal Canvas — Inline HTML (locked)

  • Allowed HTML tags: <strong> <em> <u> <a href>

About the Author

Profile picture for user John Locke

John Locke is the lead developer and founder of Freelock, LLC. In addition to being a proficient web developer, he is an experienced technical writer, network administrator, and all around problem solver. He has worked with computers since 1984, and currently advises small businesses on open source software.