---
schema_version: "1"
id: 4a97b1e3b6995b13c83371eec491421e7abb531188552771cb3125cda8ba8aa7
title: MDP Create a Data Stream with an API Connector
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mcidp_data_streams_api_create.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mcidp_data_streams_api_create.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 64b918b632397dbda42ab2b2c39a43520cdfe1c129b7b59a8b49c64541711c00
description: Use an API connector to create an API data stream. You can choose from one of thousands of API connectors, or you can go to the Marketplace and install connectors.
products:
  - Marketing
  - Marketing Cloud Intelligence
release: "264"
---
# MDP Create a Data Stream with an API Connector

Use an API connector to create an API data stream. You can choose from one of thousands of API connectors, or you can go to the Marketplace and install connectors.

1. Navigate to the **Import** tab.
2. Expand **Data Streams List**.
3. Click **Add New**.
4. In the Search bar, enter the name of the connector you’re connecting to. For example, enter Facebook Ads.
    
    The settings change according to the API connector, so not all fields are available.
    
    ![API data streams - choose api connector](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mcidp-264-0-0-production-enus/6ea21a7c-b623-43b5-9bb1-3174d8e8301e/mcidp/images/data_streams_api.png)
    
    - Name the data stream (1).
    - Within **Credentials** (2), select the account that you want to pull data from, or to add your API credentials, click **Add new**. Usually, this is a valid username and password. However, some vendors require more information, such as an API token. Check with each vendor to confirm what their API requirements are.
    - After you add your credentials, choose the entity that you want to pull data from (3). This entity can appear under different names in different API connectors, such as Profile, Publisher, or Account. With some connectors, you can further specify the segment that you want to pull data from, such as Advertiser, Segment, or Queries.
    - In **Initial Data Fetch**, (4), select the initial date range that you want to retrieve data from. You can only process data from the last 180 days. If you want to process older data, please contact support.
    - In **Extended Properties** (5), if available, retrieve additional data on the source platform. These options change from one connector to another.
5. To view how the data was mapped, click **Mapping**. For more information about mapping, see [Mapping](https://help.salesforce.com/s/articleView?id=mktg.mcidp_data_mapping.htm&release=264.0.0&type=5 "Mapping connects the source fields in your uploaded file to the corresponding Marketing Cloud Intelligence Data Pipelines fields. MDP uses machine learning algorithms to map your data. The mapping process is similar regardless of which method you use to upload your data, with some minor differences. If you’re using an API connector to upload your data, MDP automatically maps the fields for you, but you can make changes to the mapping. If you’re using TotalConnect, MDP identifies the most suitable data stream type according to your data and offers an initial mapping suggestion.").
6. To apply advanced settings to the data stream, click **Advanced**. For more information about advanced settings, see [Advanced Settings](https://help.salesforce.com/s/articleView?id=mktg.mcidp_data_adv_streams.htm&release=264.0.0&type=5 "Define advanced settings to your data stream to select load modes, load rules, or configure additional settings. The available settings vary based on the type of data stream that you’re creating.").
7. To create the data stream, click **Create**. After you create the data stream, it appears in the **Data Streams List**, and it can be used throughout the platform.