Sign In
or
Sign Up
Home
How it works
Applications
Home
How it works
Applications
Sign in
Sign up
Create
BILLIVING
clients for new Capsule CRM parties
Copy Integration
JavaScript
Copy Integration Recipe
Step 1.
Enter your CAPSULE CRM API credentials
About Capsule Crm Credentials:
Log into your Capsule CRM account
Click on your avatar (top-right corner)
Select
My Preferences > API Authentication Tokens
Copy your
Personal Access Token
More about
Capsule Crm Integrations
Step 2.
Enter your BILLIVING API credentials
About BILLIVING Credentials:
Log into your BILLIVING account
Go to Settings >
API Integration
Click to generate your api key
More about
BILLIVING Integrations
Copy Integration
Copy Integration Programmatically
//install package
npm i apigum-sdk
//usage const {Integration, Apps, AppHelper} = require('apigum-sdk'); const capsule_crmCredentials = {}; const billivingCredentials {}; //set up credentials capsule_crmCredentials[Apps.Capsule_Crm.Keys.Apikey] = "<< your capsule crm apikey >>"; capsule_crmCredentials[Apps.Capsule_Crm.Keys.Subdomain] = "<< your capsule crm subdomain >>"; //set up credentials billivingCredentials[Apps.BILLIVING.Keys.Apikey] = "<< your billiving apikey >>"; //obtain api key at https://account.apigum.com/api const apiKey = "<< Your API key >>"; const integration = new Integration(apiKey); //create integration const capsule_crm = AppHelper.configure(Apps.Capsule_Crm.AppId, this.capsule_crmCredentials); const billiving = AppHelper.configure(Apps.BILLIVING.AppId, this.billivingCredentials); integration.create(capsule_crm, billiving, Apps.Capsule_Crm.Integrations.CREATE_BILLIVING_CLIENTS_FOR_NEW_CAPSULE_CRM_PARTIES) .then(id => { // returns id of created integration }) .catch(err => console.log(err))