> ## Documentation Index
> Fetch the complete documentation index at: https://magicads.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# LinkedIn

> Setup your LinkedIn account so that your users will be able to post on their xAI accounts via Social Media Suite Extension

## LinkedIn Configuration

Follow these steps to setup your LinkedIn Developer Account and include your API keys in Davinci AI.

<Steps>
  <Step title="Step 1">
    Go to <a href="https://developer.linkedin.com/" target="_blank">LinkedIn Developer Portal</a> and sign in there, afterwards click on the **My Apps** link.

    <img src="https://mintcdn.com/magicads/yrCresVat1CLM6R8/images/extensions/social-media/linkedin-1.png?fit=max&auto=format&n=yrCresVat1CLM6R8&q=85&s=0f9bd0f1cf68badabf9ef821fd1f2308" width="1161" height="136" data-path="images/extensions/social-media/linkedin-1.png" />
  </Step>

  <Step title="Step 2">
    Create a new App.

    <img src="https://mintcdn.com/magicads/yrCresVat1CLM6R8/images/extensions/social-media/linkedin-2.png?fit=max&auto=format&n=yrCresVat1CLM6R8&q=85&s=c66bf833c355cd3ef766c4bce0c29272" width="1165" height="161" data-path="images/extensions/social-media/linkedin-2.png" />
  </Step>

  <Step title="Step 3">
    Fill in all the required fields, and click on **Create App** button.

    <img src="https://mintcdn.com/magicads/yrCresVat1CLM6R8/images/extensions/social-media/linkedin-3.png?fit=max&auto=format&n=yrCresVat1CLM6R8&q=85&s=497a7942c8f33f4483d7b937d4b0694d" width="1036" height="1053" data-path="images/extensions/social-media/linkedin-3.png" />
  </Step>

  <Step title="Step 4">
    After your App is successfully created, click on it. And select the **Products** tab. And request access for **Share on LinkedIn** and **Sign In with LinkedIn using OpenID Connect** products.

    <img src="https://mintcdn.com/magicads/yrCresVat1CLM6R8/images/extensions/social-media/linkedin-4.png?fit=max&auto=format&n=yrCresVat1CLM6R8&q=85&s=d89702176e2328ae99acba1c51170e27" width="692" height="1000" data-path="images/extensions/social-media/linkedin-4.png" />
  </Step>

  <Step title="Step 5">
    1. Next, while you have your App selected, click on the **Auth** tab, and under the **OAuth 2.0 setting** section, set your **Authorized redirect URLs for your app**.
    2. It should be your **https\://YOUR\_DOMAIN\_NAME/app/oauth/callback/linkedin** and click **Update** button after including your callback URL.

    <img src="https://mintcdn.com/magicads/yrCresVat1CLM6R8/images/extensions/social-media/linkedin-5.png?fit=max&auto=format&n=yrCresVat1CLM6R8&q=85&s=69dd92ba670efadfd929b0dc7f75a2f4" width="695" height="785" data-path="images/extensions/social-media/linkedin-5.png" />
  </Step>

  <Step title="Step 7">
    1. The last step, while you are at the **Auth** tab, under the **Application credentials** section, generate and copy your **Client ID** and **Primary Client Secret**.

    <img src="https://mintcdn.com/magicads/yrCresVat1CLM6R8/images/extensions/social-media/linkedin-6.png?fit=max&auto=format&n=yrCresVat1CLM6R8&q=85&s=60b3904dc62f1ffedc3c8cceb3705841" width="695" height="785" data-path="images/extensions/social-media/linkedin-6.png" />

    2. Go to **AI Settings** page in Admin Panel, click on **Extensions** tab, and select **Social Media Suite** extension.
    3. Under **LinkedIn Settings** section, include your **LinkedIn Client ID** and **LinkedIn Client Secret** which you just copied earlier.

    <img src="https://mintcdn.com/magicads/yrCresVat1CLM6R8/images/extensions/social-media/linkedin-7.png?fit=max&auto=format&n=yrCresVat1CLM6R8&q=85&s=e610b6907bfbe884b94b63a010d1de64" width="698" height="425" data-path="images/extensions/social-media/linkedin-7.png" />
  </Step>

  <Step title="Step 9">
    After you have included all API keys in the **Linkedin Settings** section, click **Save** button.
  </Step>

  <Step title="Step 9">
    You know have completed the LinkedIn configuration.
  </Step>
</Steps>
