Prerequisites

  • LinkedIn personal account
  • LinkedIn company page (required for app creation with admin access)

Step 1: Create LinkedIn Developer Account & App

  1. Visit https://developer.linkedin.com/ and sign in
  2. Click “Create App” and fill out the form:
    • App name: Choose a descriptive name
    • LinkedIn Page: Associate with your company page
    • App logo: Upload 100x100px PNG (recommended)
    • Accept LinkedIn’s API Terms of Use
LinkedIn App Creation Form

Step 2: Configure OAuth Settings

  1. Go to the “Auth” tab in your application dashboard
  2. Add redirect URLs: https://api.klavis.ai/oauth/linkedin/callback
Here is an example of Klavis AI OAuth app configuration: OAuth Settings Configuration

Step 3: Request Scopes

Klavis LinkedIn MCP Server uses the following OAuth scopes: openid,profile,email,w_member_social
  1. Go to “Products” tab and request “Shared on LinkedIn” and “Sign In with LinkedIn using OpenID Connect”
  2. Once approved, you can see Client ID and Client Secret from the “Auth” tab
Here is an example of Klavis AI OAuth app configuration: Product Access and Credentials
You have successfully created a LinkedIn OAuth application! You now have your Client ID and Client Secret ready for integration with Klavis AI.

(Optional) Step 4: White Labeling

White labeling allows you to customize the OAuth experience with your own branding instead of Klavis AI’s.
If you want to use your own LinkedIn OAuth application with custom branding:
  1. Configure White Labeling: Go to https://www.klavis.ai/home/white-label
  2. Add Your Credentials: Enter your LinkedIn Client ID and Client Secret from Step 3
  3. Set Redirect URI: Use https://api.klavis.ai/oauth/linkedin/callback or your custom callback URL
  4. Initiate OAuth: Use your client ID when starting the OAuth flow:
    const authUrl = `https://api.klavis.ai/oauth/linkedin/authorize?instance_id=${instanceId}&client_id=${yourClientId}`;
    
For detailed white labeling implementation and code examples, see our OAuth & White Labeling guide.

Resources