Configure Drupal for the Connector

Before you can use the connector, you must enable REST services in your Drupal instance, and configure a view that the connector can use to retrieve data.

To configure your Drupal instance for the connector

  1. Open a web browser and navigate to the /admin/modules page on your Drupal instance.

    1. Enable RESTful Web Services.
    2. Enable REST UI.
    3. Enable HTTP Basic Authentication.
  2. Navigate to the /admin/config/services/rest page on your Drupal instance. Allow GET access for the "node", "user", "media", and "taxonomy term" types, with basic_auth authentication and JSON response format.

  3. Create a view that the connector can use to find the top-level entities, from which it can start processing.

    1. Navigate to the /admin/structure/views page on your Drupal instance.
    2. Click Add view.

      The Add view page opens.

    3. In the View settings area, ensure the configuration matches the following:

      Show Content of type (followed by the types you require)

    4. In the REST export settings area, select the Provide a REST export check box and specify a URI. You will need this URI when you configure the connector.
    5. Click Save and edit.
    6. In the Filter Criteria area, click Add and add the setting:

      Content: Default translation (= True)

    7. In the Path Settings area, ensure that the view can be accessed with basic_auth authentication.

    8. Click Save.