Before you start
You’ll need:- Drupal account with an administrator role, or any other role that allows you to administer users and permissions (learn more in Drupal’s Roles and Permissions documentation)
- A public Drupal HTTPS website
- JSON:API Drupal core module: it powers every action Profound performs
- JSON:API Permission Access module to enable API authentication access for select user roles
- Key auth module to enable API key authentication that allows Profound to take actions on your behalf
- Profound account
Setup guide
Allow write operations for you JSON:API module
- In Drupal, navigate to Configuration > Web Services > JSON:API.
- Enable Accept all JSON:API create, read, update, and delete operations.
- Select Save configuration.

Create a Profound user in Drupal
- In the Drupal platform, navigate to People in the left sidebar and select + Add user.

- Name the user
profound, give it a Content editor role or any other role with content management permissions, and select Create new account.
- Once the user is created, it appears on the user list.

Enable necessary permissions for the Profound user
To allow Profound to authenticate with Drupal using an API key, enable Access JSON:API and Use key authentication permissions for the role you assigned to your Profound user.
- In Drupal, navigate to People > Permissions.
- Search for the relevant permission and enable it for the role your Profound user has.
- Select Save permissions.
A standard Drupal content editor role has sufficient content permissions for Profound to perform the necessary actions. If you want to review or customize content permissions for Profound, you can do so anytime in the Permissions view in Drupal.
Generate an API key
- Navigate to People and select
profounduser you created in Step 2. - Append
/key-authto the user page URL. For example: - On the key authentication page for the user, select Generate new key.

- Save the API key in a secure place, you’ll need it to set up the integration in Profound.
Connect Drupal to Profound
Now that you have everything you need, create a Drupal integration in the Profound platform:
- Navigate to Integrations in the left sidebar.
- Search for Drupal and select it.

- In the Drupal integration view, select + Add account.
- In the Connect Drupal dialog, enter the API key you generated in Step 4 and your Drupal website’s base URL.
- Select Connect Account.

You can also connect your Drupal account to Profound directly in the Agent builder view. Navigate to Agents > + Create new, add one of the Drupal nodes to the canvas, select it to open its configuration panel, and follow the Connect account flow.
Best practices
- Make sure your Drupal website is public and uses HTTPS. Profound rejects non-HTTPS websites.
- To customize permissions specifically for the Profound Drupal user, consider creating a custom role for it. Learn more in the Drupal Roles and Permissions documentation.
- When reviewing Profound user permissions, grant it permissions only for the content you intend Profound to use.
- Always store your API keys in a secure place, such as secure notes in your password manager.
Troubleshooting
There is no JSON:API permission in my Drupal Permissions view
Check that the JSON:API Permission Access module is installed in your Drupal platform:- Navigate to Extend in the left sidebar.
- If the module is installed, it appears on the module list with a selected checkbox.
- If it’s not on the list, install it via the Browse modules tab.
