---
schema_version: "1"
id: 32e9e2543737e602a34d18647b1368e8a3db704d53bb7df123a20b0e060ac6a2
title: Create an API Service Account in Marketing Cloud Intelligence
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/dato_getstarted_token_api_generate.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.dato_getstarted_token_api_generate.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0de4ee3c9c9cb3c9ab7a3830fb24aadb5cea82ace0f20b2fc6b3973acb9597b7
description: You can create an API service account from your profile if you have API access. The client ID and private key are valid for 24 months.
products:
  - Marketing
  - Marketing Cloud Intelligence
release: "264"
---
# Create an API Service Account in Marketing Cloud Intelligence

You can create an API service account from your profile if you have API access. The client ID and private key are valid for 24 months.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d19042e38">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d19042e38 ">To create an API service account:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d19042e38 ">User with Enable API Access</td>

          </tr>
        </tbody>
      </table>

1. To the right of the navigation bar, click the dropdown arrow, and click your name to access your profile settings.
2. To create an API service account, next to API Access Token, click **Generate/Refresh**.
    
    ![api\_token\_button](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-salesforce_datorama-264-0-0-production-enus/d38a342d-dd4a-4af8-8343-f372280a75dd/salesforce_datorama/images/getstarted/dato_getstarted_token_button.png)
    
    The API service account’s details are download in a text file locally on your machine. Store this file securely.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-salesforce_datorama-264-0-0-production-enus/d38a342d-dd4a-4af8-8343-f372280a75dd/images/icon_note.png)
    
    Note Generate/Refresh generates the new API service account details. It does not generate the Access Token. The old string tokens are a separate entity and will remain supported until their deprecation date.
    
    The downloaded file looks like this:
    
    ![api\_token\_sample](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-salesforce_datorama-264-0-0-production-enus/d38a342d-dd4a-4af8-8343-f372280a75dd/salesforce_datorama/images/getstarted/dato_getstarted_token_sample.png)
    
    The token provides this information:
    
    - serviceAccountId—Represents your client ID that you use to generate an access token.
    - privateKey—Your RSA private key you use to sign your private key JWT (JSON Web Token).
    - discoveryEndpoint—Use this URL to retrieve the access token generation endpoint and the issuer address.