---
schema_version: "1"
id: 1d80bad5814e663834f8fcd0433aba6f0e2b84ecffd7a57818c66bd5257ab063
title: DataSource
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_datasource.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_datasource.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: cbf30789f5991c032f43d02ace3f6723c499b2cccc79b5bbf986385a34ab82f9
description: Used to represent the system where the data was sourced. This object is always needed when creating a Data Stream Definition.
---
# DataSource

Used to represent the system where the data was sourced. This object is always needed when creating a Data Stream Definition.

![Important](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## File Suffix and Directory Location

DataSource components have the suffix dataSource and are stored in the mktDataSources folder.

## Version

DataSource components are available in API version 50.0 and later.

## Special Access Rules

You need the Salesforce CustomizeApplication permission to access this object.

## Fields

| Field Name | Field Type | Description |
| --- | --- | --- |
| masterLabel | string | Required. The UI name for the Data Source. |
| prefix | string | Required. Prefix for the Data Source to make Data Source Object records unique. |