Lightyear LogoLightyear Docs

API Calls with User Credentials

In this guide, we'll walk through creating a command-line script that integrates with HubSpot through Lightyear. By the end, you'll have a working script that can create companies in HubSpot using the Lightyear API.

Let's get started!

  1. Create a HubSpot account
  2. Add HubSpot integration
  3. Add a managed user
  4. Add integration to user
  5. Authorize the integration
  6. Create the command-line script
  7. Run and verify
  8. Next steps