> For the complete documentation index, see [llms.txt](https://vezolve.gitbook.io/activebooks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vezolve.gitbook.io/activebooks/crm/marketing/linkedin-settings.md).

# LinkedIn Settings

LinkedIn related settings like OAuth can be configured here. ERPNext needs access to the API through which the post is shared and achieved using OAuth 2.0 Authentication Protocol.

### 1. How to set up LinkedIn Developer App[ ](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/linkedin-settings#1-how-to-set-up-linkedin-developer-app) <a href="#id-1-how-to-set-up-linkedin-developer-app" id="id-1-how-to-set-up-linkedin-developer-app"></a>

You must have LinkedIn Developer App for your company. ERPNext interacts with this App for sharing the post.

#### 1.1 Create LinkedIn Developer App[ ](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/linkedin-settings#11-create-linkedin-developer-app) <a href="#id-11-create-linkedin-developer-app" id="id-11-create-linkedin-developer-app"></a>

Create App by link `https://www.linkedin.com/developers` fill all the details and verify it. And that App has the following products.

1. Share on LinkedIn
2. Sign In with LinkedIn
3. Marketing Developer Platform ![LinkedIn Developer App Product](https://docs.erpnext.com/files/linkedin-dev-products.png)

#### 1.2 Configure Redirect URLs:[ ](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/linkedin-settings#12-configure-redirect-urls) <a href="#id-12-configure-redirect-urls" id="id-12-configure-redirect-urls"></a>

1. Goto your LinkedIn Developers App then **Auth** tab.
2. In **OAuth 2.0 settings** section add **Redirect URLs**: `https://{yoursite}/api/method/erpnext.crm.doctype.linkedin_settings.linkedin_settings.callback`
3. Click **Update** to make changes. ![LinkedIn Redirect URL](https://docs.erpnext.com/files/linkedin-redirect-urls.png)

### 2. How to set up LinkedIn Settings[ ](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/linkedin-settings#2-how-to-set-up-linkedin-settings) <a href="#id-2-how-to-set-up-linkedin-settings" id="id-2-how-to-set-up-linkedin-settings"></a>

To access LinkedIn Settings, go to:

> Home > CRM > Settings > LinkedIn Settings

![LinkedIn Settings](https://docs.erpnext.com/files/linkedin-settings.png)

#### Company ID[ ](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/linkedin-settings#company-id) <a href="#company-id" id="company-id"></a>

You get the Company ID from your LinkedIn Company URL. ![LinkedIn Company ID](https://docs.erpnext.com/files/linkedin-company-id.png)

#### Consumer Key and Consumer Secret[ ](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/linkedin-settings#consumer-key-and-consumer-secret) <a href="#consumer-key-and-consumer-secret" id="consumer-key-and-consumer-secret"></a>

You get **Consumer Key** and **Consumer Secret** from your LinkedIn Developer account go to:

> `https://www.linkedin.com/developers/` > My Apps > `{Your App}` > Auth

![LinkedIn Client](https://docs.erpnext.com/files/linkedin-client.png)

Once you save the doc by filling **Company ID**, **Consumer Key**, and **Consumer Secret** it will redirect to LinkedIn's sign-in page by providing valid LinkedIn credentials and clicking Allow, the member approves your application's request to access their member data and interact with LinkedIn on their behalf. ![Authorize LinkedIn](https://docs.erpnext.com/files/authorize-linkedin.jpg)

<br>
