Segment DSR integration

Automate privacy request handling by integrating MineOS with Segment.

✓ Preview✓ Delete✓ Get a copy

Missing an action you need, or an integration we don't support yet? Contact your Customer Success Manager.

This integration automates privacy requests for Segment. MineOS connects to your Segment workspace with an access token, then handles the requester's data in Segment. Preview and get a copy are available with the Personas integration type.

How It Works

  • Preview: with Segment (Personas), you can preview the requester's Personas profile data before deleting or copying it.
  • Delete: MineOS submits a deletion request to Segment for the requester's user ID. Segment deletes the user's data and suppresses the user going forward.
  • Get a copy: with Segment (Personas), MineOS sends the requester a copy of their Personas data, including events, traits and external IDs.

Choose the right integration type

Integration typeWhat it does
Segment (User ID)Deletes and suppresses the user in Segment, using the requester's internal user ID. Deletion only: no preview and no copy. Needs the workspace access token.
Segment (Personas)Finds the requester in Segment Personas by email address, then previews, deletes and copies their data. Needs the workspace access token plus your Personas Space ID and Personas API access token.

Before You Start

  • Make sure you can create access tokens in your Segment workspace. The token must be created with the Workspace Owner role.
  • For Segment (Personas), you also need access to Personas → Settings → API Access in Segment.
  • Know your Segment workspace region (US or EU).

Setting Up

Step 1: Create a workspace access token in Segment

  1. In Segment, click Settings in the left menu, then Workspace Settings.
  2. Open Access Management, select Tokens and click Create Token.
  3. Select Public API and click Next.
  4. Enter a description, select Workspace Owner and click Create.
  5. Copy the token.

Step 2 (Personas only): Get your Personas credentials

  1. In Segment, select Personas in the left menu, then Settings.
  2. Click API Access and copy the Space ID.
  3. On the same page, click Generate, enter a description and click Generate token.
  4. Copy the generated Personas access token.

Step 3: Connect in MineOS

  1. Log in to MineOS. On the left sidebar, click Inventory → Data Sources. Click Add Data Source, search for Segment and click Add.
  2. Open the Segment data source → Integrations tab → Request Handling section → select Integration.
  3. In the Integration type dropdown, choose Segment (User ID) or Segment (Personas).
  4. Paste the workspace token into Workspace owner Access Token for Regulations.
  5. Enter your workspace region in Regional Workspace (US / EU). If you leave it empty, US is used.
  6. For Segment (Personas), also enter your Space Id and your Personas Api Access Token.
  7. Click Test your integration, then click Test & Save.

You're done! MineOS has been connected to your Segment workspace.

Using several integration types together

The two types complement each other: Segment (Personas) finds the requester by email address and previews, deletes and copies their profile, and Segment (User ID) deletes and suppresses the user by their internal ID so Segment stops collecting their data.

Each integration type is a separate instance of the Segment data source, and you can add all of them to the same workflow:

  1. On the left sidebar, click Inventory and open the Segment data source.
  2. Go to the DSR & integrations tab and click Add instance.
  3. Under Action for fulfilling requests, select Integration. In the Integration Type dropdown, choose the next type (Segment (Personas) or Segment (User ID)), then click Set up integration and connect it as described in Setting Up.
  4. Repeat steps 2 and 3 for each integration type you want to use.
  5. Open the privacy right's Eligibility & workflows tab. Under Data sources to process, click + Add and add each Segment instance. Add both to your deletion workflow, and the Segment (Personas) instance to get a copy. The user ID type needs the requester's internal user ID on the request.

When a request comes in, MineOS runs every instance in the workflow and shows each one as a separate line in the request.

Using the Integration in Requests

To handle requests automatically, add the Segment integration to the workflows of the privacy rights it should handle: deletion, and also get a copy if you use Segment (Personas).

Need Help?

If you need any help with this integration, please contact your Customer Success Manager. They will be happy to assist you!


Did this page help you?