Create your LinkedIn app

The agent posts through your own LinkedIn developer app. Personal posting needs no review.

  1. Go to linkedin.com/developers/apps and click Create app. Link it to a LinkedIn Page you admin. A small placeholder page works.
  2. Open the Products tab and add Sign In with LinkedIn using OpenID Connect and Share on LinkedIn.
  3. Open the Auth tab and add the redirect URL http://localhost:8787/auth/linkedin/callback. On a server, use your LA_BASE_URL followed by /auth/linkedin/callback.
  4. Copy the Client ID and Client Secret into .env:
LINKEDIN_CLIENT_ID=your-client-id
LINKEDIN_CLIENT_SECRET=your-client-secret

Restart the app, then Settings → LinkedIn → Connect LinkedIn. Access lasts about 60 days, and the app shows how many days are left.

Company Pages

Request the Community Management API product for your app. After LinkedIn approves it, set LINKEDIN_ORG_ENABLED=1, reconnect, and use Settings → LinkedIn → Load my pages.

Each workspace connects its own LinkedIn account, so one app can serve you and your clients.