You can find your BambooHR app credentials in the BambooHR Partner Program dashboard.You’ll need the following information to set up your BambooHR App with Paragon Connect:
Under Integrations > Connected Integrations > BambooHR > App Configuration > Configure, fill out your credentials from your developer app in their respective sections:
Client ID: Found in your BambooHR Partner Program dashboard.
Client Secret: Found in your BambooHR Partner Program dashboard.
Permissions: Select the scopes you’ve requested for your application. For a list of recommended scopes, please view this integration within your Paragon dashboard. View dashboard.
Leaving the Client ID and Client Secret blank will use Paragon development keys.
Once your users have connected their BambooHR account, you can use the Paragon SDK to access the BambooHR API on behalf of connected users.See the BambooHR REST API documentation for their full API reference.Any BambooHR API endpoints can be accessed with the Paragon SDK as shown in this example.
Copy
Ask AI
// You can find your project ID in the Overview tab of any Integration// Authenticate the userparagon.authenticate(<ProjectId>, <UserToken>);// Get Company Directoryparagon.request("bamboohr", "/employees/directory", { method: "GET"});// Create a time-off requestparagon.request("bamboohr", "/employees/<EMPLOYEE ID>/time_off/request", { method: "POST", body: { "status": "approved", "start": "2022-07-01", "end": "2022-07-04", "timeOffTypeId": 86, "amount": 16, "notes": [{from: "manager", note: "Get well soon!"}], "previousRequest": 0 }});// Get benefit deduction typesparagon.request("bamboohr", "/benefits/settings/deduction_types/all", { method: "GET"});