The LinkedIn module lets your AI agent publish posts to your LinkedIn profile or company page. AgentGrow uses OAuth 2.0 to connect securely — you create a LinkedIn App, enter its credentials, and click a button. The platform handles token exchange, encrypted storage, and automatic daily refresh so your connection never expires silently.
How It Works
Instead of manually generating and pasting access tokens (which expire every 60 days), AgentGrow’s OAuth flow works in three steps:
- You create a LinkedIn App and paste the Client ID + Client Secret into AgentGrow
- You click "Connect LinkedIn" — you are redirected to LinkedIn to authorize
- AgentGrow stores the tokens and refreshes them automatically before they expire
What You Will Need
| Field | What it is |
|---|---|
| Client ID | Your LinkedIn App’s public identifier (found in the app settings) |
| Client Secret | Your LinkedIn App’s secret key (shown once when generated) |
| Page URL | (Optional) Your LinkedIn company page URL, so your agent knows where to post |
Prerequisites
- A LinkedIn account
- Admin access to a LinkedIn Company Page (if you want to post as the company rather than your personal profile)
- An AgentGrow account on the Growth or Enterprise plan
Part 1 — Create a LinkedIn App
Go to LinkedIn Developers
Open linkedin.com/developers/apps and sign in with your LinkedIn account.
Create a new app
Click Create app and fill in:
- App name: something like
My Business AgentorAgentGrow LinkedIn - LinkedIn Page: select your company page (required — create one first if needed)
- App logo: upload any square image (your company logo works well)
- Legal agreement: check the box and click Create app
Request the required products
After creating the app, go to the Products tab and request access to:
- Share on LinkedIn — allows your agent to create posts
- Sign In with LinkedIn using OpenID Connect — allows the OAuth login flow
"Share on LinkedIn" is usually approved instantly. "Sign In with LinkedIn" may also be instant or take a few minutes.
Set the OAuth redirect URI
Go to the Auth tab in your LinkedIn App settings. Under OAuth 2.0 settings, add this redirect URL:
Click Update to save. This is where LinkedIn sends you back after authorization.
Copy Client ID and Client Secret
Still on the Auth tab:
- Client ID is shown directly — copy it
- Client Secret — click the eye icon or "Show" to reveal it, then copy
Part 2 — Connect LinkedIn in AgentGrow
Open your Integrations page
Log in to your AgentGrow dashboard at agentgrow.io/user/integrations.
Configure LinkedIn
Find the LinkedIn module and click Configure. You will see a two-step form:
Step 1 — App Credentials:
- Paste your Client ID
- Paste your Client Secret
- (Optional) Enter your LinkedIn Page URL (e.g.
https://www.linkedin.com/company/your-company)
Click Save & Continue.
Step 2 — Authorize:
- Click the blue Connect LinkedIn button
- You will be redirected to LinkedIn where you sign in and approve the permissions
- LinkedIn redirects you back to AgentGrow automatically
Verify the connection
After authorization, you will see a green Connected status with your LinkedIn name and profile photo. The token expiry date is displayed — AgentGrow refreshes it automatically before it expires.
Troubleshooting
LinkedIn says "invalid redirect URI"
Make sure you added this exact URL in your LinkedIn App’s Auth settings:
The URL must match exactly — no trailing slash, no http:// (must be https://).
"Share on LinkedIn" product not approved
Go to your LinkedIn App → Products tab and check that "Share on LinkedIn" shows "Added". If it says "Review in progress", wait for approval before trying to connect. Most approvals are instant.
Connection shows "Expired"
AgentGrow automatically refreshes tokens daily. If you still see "Expired":
- Click Reconfigure on the LinkedIn module
- Click Connect LinkedIn to re-authorize
This generates a fresh token immediately.
Agent posts are not appearing on LinkedIn
- Check that the LinkedIn module status shows Configured (green checkmark) on the Integrations page
- Verify the module is not paused (toggle should be green, not gray)
- Check your Dashboard activity feed for any error messages from the agent
How do I disconnect LinkedIn?
Open the LinkedIn module on the Integrations page, click Reconfigure, then click Disconnect. This removes the access token but keeps your app credentials so you can reconnect without re-entering them.
Can I switch to a different LinkedIn account?
Yes. Disconnect the current connection, then click Connect LinkedIn again. When LinkedIn asks you to authorize, sign in with the different account.