Overview
OneCLI connects AI agents to LinkedIn through OAuth. Agents can read your profile, email, and create, modify, and delete posts, comments, and reactions. The gateway injects OAuth credentials into requests to the LinkedIn API automatically.Setup
1
Go to Connections
Open the OneCLI dashboard and navigate to Connections > LinkedIn.
2
Authorize
Click Connect LinkedIn. You’ll be redirected to LinkedIn to authorize OneCLI. Review the requested permissions and click Allow.
3
Verify
After authorization, you’ll be redirected back to the dashboard. The connection will show as Connected with your LinkedIn email.
What agents can do
Use cases
- Content agents that draft and publish LinkedIn posts
- Engagement agents that respond to comments
- Social media scheduling agents that post on a schedule
- Agents that cross-post content from other platforms to LinkedIn
Self-hosted setup
For self-hosted deployments, configure your own LinkedIn OAuth app:- Create an app in the LinkedIn Developer Portal
- Set the environment variables
LINKEDIN_CLIENT_IDandLINKEDIN_CLIENT_SECRET