---
title: "Importing content into a subscriber"
date: "2024-04-25T13:17:21+00:00"
summary: "Discover methods for importing content into subscriber sites, including manual and automatic syndication, with step-by-step configuration guidance."
image:
type: "page"
url: "/drupal-starter-kits/add-ons/content-hub/importing-content-subscriber"
id: "f7226e18-ea6f-4d61-80a8-a78426337758"
---

In the process of importing content into a subscriber site, the entity exported from the publisher site is recreated on the subscriber site as a local copy. Content Hub imports all the dependencies of the entity, such as taxonomy terms, file attachments, or paragraphs.

The following table lists the methods for importing content into a subscriber site:

Method

Description

[Manual syndication](/drupal-starter-kits/add-ons/content-hub/manual-syndication "Manual syndication")

Select the specific entities to import into a subscriber site using Publisher’s Dashboard. Manual syndication provides flexibility for publishers and subscribers to directly control the content imported to a site.

[Automatic syndication with filters](/drupal-starter-kits/add-ons/content-hub/automatic-syndication-filters "Automatic syndication with filters")

Create saved filters that automatically syndicate content based on criteria such as taxonomy term, entity type, or bundle. The filters are assigned to specific subscriber sites, and those sites import new entities that match the criteria when they are exported to Content Hub.

Note

When a subscriber connects to the Content Hub service, they need to import content. The subscriber can import content either by manual syndication or by updating the saved filters to attach a new subscriber.

The following process automatically updates the previously imported content:

1.  After an entity is imported into a subscriber site, the entity is added to the interest list of the subscriber site.
2.  When the publisher site exports new changes to the entity, the subscriber site is notified and the entity is added to the import queue of the subscriber site.
3.  When the import queue is processed, the subscriber site imports all changes to the entity.

Manual or automatic syndication is only used to establish the initial relationship between an entity and a subscriber.

Configuring your Drupal site as a subscriber
--------------------------------------------

To configure your Drupal site as a subscriber:

*   [Install Content Hub](/drupal-starter-kits/add-ons/content-hub/installing-content-hub "Installing Content Hub").
*   Enable the `acquia_contenthub_subscriber` module through the Drupal admin interface.

Processing the import queue
---------------------------

The following are the ways to process the import queue:

Using scheduled jobs Using Drush Using the Drupal UI

To process the import queue asynchronously, Acquia recommends you to [configure scheduled jobs](/drupal-starter-kits/add-ons/content-hub/configuring-scheduled-jobs "Configuring scheduled jobs"). Additionally, you can set up the scheduled jobs to run on dedicated cron servers if your Drupal Cloud subscription provides such servers.

To process the import queue manually, Acquia recommends you to use Drush. Acquia provides the `ach-import` Drush command for processing the queue.

**Important:**

Using Drush instead of the Drupal UI avoids the risk of PHP timeouts when working with large datasets.

To process the subscriber import queue, run the following command:

    drush acquia:contenthub-import-queue-run --uri=https://site_uri

For information about the command options, see [acquia:contenthub-import-queue-run](/node/56502#acquia-contenthub-import-queue-run).

To manually process the import queue using the Drupal UI:

*   Go to **Administration** > **Configuration** > **Web services** > **Acquia Content Hub**.
*   Click the **Import** tab.  
    In the **Run the import queue** fieldset, you can check the count of items in the import queue.
*   Click **Import Items** to initiate the import process.

Purging the import queue
------------------------

To clear the import queue on a subscriber site:

*   Go to **Administration** > **Configuration** > **Web services** > **Acquia Content Hub**.
*   Click the **Import** tab.
*   When the queue has items, locate **Purge existing queues** in the **Run the import queue** section.
*   Click **Purge** to clear the import queue.