Cerb + LinkedIn
- Introduction
- Create an app at LinkedIn
- Create the LinkedIn service in Cerb
- Link the connected account to LinkedIn in Cerb
- Use the connected account in bot behaviors
Introduction
In this guide we’ll walk through the process of linking Cerb to LinkedIn. You’ll be able to use LinkedIn’s full API from bots in Cerb to automate whatever you need.
Create an app at LinkedIn
Next, you need to create a new app on LinkedIn for Cerb to connect to.
-
Log in to LinkedIn’s developer portal.
-
Click the green Create New App button.
-
Click My Apps in the top menu.
-
Click the yellow Create Application button.
- Enter the following details:
- Company Name: (your company)
- Name: Cerb
- Description: Integration with Cerb
- Application Logo: image
- Application Use: Sales (CRM), Marketing
- Website URL: https://cerb.ai/
- Business Email: (your email address)
- Business Phone: (your phone number)
-
Review the API Terms of Use and check agree.
- Click the Submit button.
Configure authentication for your LinkedIn App
-
In the Authentication panel, under Authentication Keys, copy your Client ID and Client Secret. You’ll need to input these into Cerb.
-
For Default Application Permissions, select everything.
-
Under OAuth 2.0, add an Authorized Redirect URL with the following format and click the Add button:
https://YOUR-CERB-HOST/oauth/callback
-
Scroll down to App Credentials and make a note of your Client ID and Client Secret for the next step.
-
Select OAuth & Permissions from the left sidebar.
-
Click the Add Redirect URL button and enter the base URL to your Cerb install (e.g.
https://YOUR-CERB-HOST/
). -
Click the blue Update button.
Create the LinkedIn service in Cerb
-
Navigate to Search » Connected Services.
-
Click the (+) icon in the top right of the list.
-
Select LinkedIn.
-
Enter your Client ID and Client Secret.
-
Click the Create button.
Link the connected account to LinkedIn in Cerb
-
Navigate to Search » Connected Accounts.
-
Click the (+) icon in the top right of the list.
-
Select LinkedIn.
-
Click the blue Link to LinkedIn button.
-
Accept consent on LinkedIn.
-
Click the Save Changes button.
Use the connected account in bot behaviors
You can use the connected account you just created to access LinkedIn’s REST API from bot behaviors in Cerb. This is typically accomplished using the Execute HTTP Request action from a bot, and selecting the connected account in the Authentication: section.
You can import the LinkedIn Bot package for a working example.