Step 1: Index Your Data
Install the App in the Yext Platform
The Yext Data Connectors use the core JSON:API Module to pull in data from your Drupal site. You can check this by clicking on Extend in your Drupal site and making sure JSON:API is checked off.
Look through the App Directory or on the Connectors page in your account and select the Drupal app you’d like to use based on your desired entity types (e.g. if you want to pull events into the platform, select Drupal Event Connector). There are five built in data connectors for the following entity types:
- Page: This pulls in all Page content types you have on your Drupal site.
- Article: This pulls in all Article content types you have on your Drupal site.
- Person: This pulls in all Person content types you have on your Drupal site.
- Event: This pulls in all Event content types you have on your Drupal site.
- Place: This pulls in all Place content types you have on your Drupal site.
Each of the connectors pulls in the core fields for each of the Content Types. If you would like to pull in more fields, you can do that in Step 2.
If none of the five apps describe the entities you’d like to pull in, jump to Step 3 of this guide.
Install the connector. When you install the app you will be prompted to input your Drupal site’s URL. Input the full URL including the
http://
(e.g.,http://www.yext.com
).Click Save and Run. Your entities will be pulled straight Yext Content!
Event Connectors: Adjusting Time Zones
If you are using the Event connector, the default timezone is America/New_York.
If your events are in a different timezone, here’s how you can change it:
- On the Event Connector page, click Edit Configuration.
- Click on the Add Column transform in the left sidebar where it says “America/New_York”.
- Change the value to the time zone you are in.
- Click Save