Obtain your Developer key (also called "dev key"). See BILL keys and tokens for details.
Find your Organization ID in Bill.com (e.g. in account or company settings, or from your administrator). This is the identifier for your organization in the Bills product.
For authentication details (including session-based API access), see Authentication with Bill.com API in the Bill.com developer docs.
Connect Bill.com Bills to Ledge
In Ledge, go to Sources → Create new source → E-commerce & Billing.
Click the Bill.com tile.
Select Bills as the integration type.
In the modal, enter:
Username — your Bill.com sign-in email
Password — your Bill.com password
Organization ID — your Bill.com organization identifier
Developer Key — your dev key from the Bill.com Developer Portal
Click Connect.
Ledge will store your credentials securely and use them to sync your Bills (AP & AR) data