This code demonstrates the use of the CSOD API by creating a custom org chart
To get started
- Create a file named .env in the root of this project.
- Set the sessionToken and sessionSecret variables with the values generated from the developer portal (must be the same portal as 3)
- Set the portal name you wish to query.
This is the format of the .env file CSOD_SESSION_TOKEN=YourSessionToken CSOD_SESSION_SECRET=YourSessionSecret CSOD_PORTAL=YourPortal.csod.com