As more and more data protection laws arrive all over the world, ensuring compliance is a priority. OneTrust is a privacy management and marketing compliance company. Its services are used by organizations to comply with global regulations like GDPR.

This OneTrust input integration is to provide an input integration that can collect customer's consent data and load it into TD. Access to OneTrust data on the Treasure Data platform enables your marketing team to optimally enrich your data.


Obtain your API Key

  1. Navigate to .

  2. Sign on to the OneTrust application if necessary.

  3. Select Add New.

  4. Type a name that you want for the Connection Name.

  5. Select Install.

Retrieving Collection Point GUID

  1. Navigate to
    The Collection Point screen displays.

  2. Select the corresponding Collection Point, the GUID is in the URL. For example:

Obtain your OAuth Access Token

Create a OneTrust token to store the Client ID and Secret.
This is short-lived token.

  1. Navigate to

  2. Select Add.

  3. Type a name and describe your token.

  4. Select appropriate Access Token Lifetime. The default lifetime is one hour.

  5. Navigate to

  6. Select your credential.

  7. Select Generate Token.

Use TD Console to Create Your Connection

Create a New Connection

When you configure a data connection, you provide authentication to access the integration. In Treasure Data, you configure the authentication and specify the source information.

  1. Open TD Console.

  2. Navigate to Integrations Hub >  Catalog.

  3. Search for and select OneTrust.

  4. Type the name of the access token that you created in the OneTrust application.

  5. Select Continue.

  6. Type a name for your connection.

  7. Select Done.

Transfer Your OneTrust Account Data to Treasure Data

After creating the authenticated connection, you are automatically taken to Authentications.

  1. Search for the connection you created. 

  2. Select New Source.

  3. Type a name for the data transfer.

  4. Select Next.
    The Source Table dialog opens.

  5. Select Next.
    The Data Setting dialog opens.

  6. Edit the following parameters:



Data Type

  • Data Subject Profile. Fetch Data Subject Profile data.

  • Collection Point. Fetch Collection Point data.

Collection Point GUID (Optional)

GUID of a single Collection point to limit data, if not provided, get from all Collection Points.

Incremental Loading

Enables incremental report loading with new Start Time automatic calculation.
For example, if you start incremental loading with Start Time = 2014-10-02T15:01:23Z to 2014-10-03T15:01:23Z, the next jobs run new Start Time will be 2014-10-03T15:01:23

Start Time

(Required when select Incremental Loading)

For UI configuration, you can pick the date and time from supported browser, or input the date that suit the browser expectation of date time. For example, on Chrome, you will have a calendar to select Year, Month, Day, Hour, and Minute; on Safari, you need to input the text such as 2020-10-25T00:00.

For cli configuration, we need a timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds, for example: "2014-10-02T15:01:23Z".

Incremental By Modifications of

  • Data Subject. Incremental by the last update of the data subject

  • Consent Information. Incremental by the last consent date of the consent information.


Comma-separated list of additional options (for example, ignoreCount,linkTokens,ignoreTopics). This setting for Data Subject Profile data type, refer

Thread Count

Maximum concurrent requests can submit to OneTrust API server. default: 4, min: 1, max: 16

Data Settings

  1. Select Next.
    The Data Settings page opens.

  2. Skip this page of the dialog.

Data Preview 

Data Placement