---
schema_version: "1"
id: d5869c21d47d90c5ee82bcc14867a5a7741367f1f413fb54fc073bac27051f3a
title: Create External Credentials for the Linkedin Ads Connector
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-int/guides/linkedinads/c360-a-linkedinads-cred.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-int/guide/c360-a-linkedinads-cred.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6d574df4412fbd3306b35eea701a3d273201d99aadfca4e810015d0e2aa57325
products:
  - Data 360 Integration Guide
  - Data 360 Developer Documentation
---
# Create External Credentials for the Linkedin Ads Connector

To ingest data from Linkedin Ads to Data 360, set up an external credential for Linkedin Ads.

Before you begin:

- Create the OAuth based authentication with [LinkedIn](https://help.salesforce.com/s/articleView?id=data.c360_a_setup_oauth_linkedin.htm&type=5) before completing these steps.

1.  From Setup, in the Quick Find box, enter `Named Credentials`. Then select **Named Credentials** (1).

    ![namedcredential definition](https://developer.salesforce.com/media/NamedCred_13Aug2024.png)

2.  On the External Credentials tab (2), click **New**.

    1.  Enter a label and name for your external credential. The name can’t contain spaces. You can use underscores.

    2.  For Authentication Protocol, select **OAuth 2.0**.

    3.  For Authentication Flow Type, select **Browser Flow**.

    4.  For Scope, ask your Linkedin App Admin what scopes to add.

    5.  For Identity Provider, select Auth Provider. Then select the provider you created for the LinkedIn Ads connector.

    6.  Click **Save**.

3.  Add principal to external credentials

    1.  In the external credentials that you created, under Principals, click **New**.

    2.  Enter the parameter name. You can include spaces.

    3.  For Identity Type, select **Named Principal**.

    4.  Set the Sequence Number to `1`.

    5.  For Scope, ask your Linkedin App Admin what scopes to add.

    6.  Click **Save**.

4.  Authenticate your external credentials.

    1.  Under Principals, from the Actions dropdown menu, select **Authenticate.**

    2.  Follow the authentication flow and confirm access permissions.

    3.  To connect Data Cloud to Linkedin Ads, click **Allow**.

        After you authenticate, the status changes to Configured.

5.  Define the named credential.

    1.  In the Named Credentials Tab, click **New**. Then enter a label and name. The name can't contain spaces, but you can use underscores.

    2.  For the URL, enter `https://business.linkedin.com/marketing-solutions/ads`.

    3.  For external credentials, select the credential that you created.

    4.  Click **Save**.

6.  Enable external credentials access for System Administrators.

    1.  From Setup, in the Quick Find box, enter `Profiles`. Then select it.

    2.  Click **System Administrator**.

    3.  On the Enable External Credential Principal Access tab, click **Edit**.

    4.  Add the external credentials principal that you created to the Enabled External Credentials Principals column.

    5.  Click **Save**.

## Next Step

- [Set Up a LinkedIn Ads Connection](https://developer.salesforce.com/docs/data/data-cloud-int/guide/c360-a-set-up-linkedinads-connection.md)
