1
Create the connector
In Admin → Connectors → Custom Source, choose a datasource name such as
sales_orders and the document types it accepts, such as purchase_order,invoice. You can also declare your own type names, matching ^[a-z][a-z0-9_]{2,40}$, for data Pascal stores as sent. Save the client ID and key fingerprint. If Pascal generates the private key, save it now: Pascal shows it only once.2
Install the client libraries
3
Exchange a token
Replace the credential placeholders and private-key file path. This example uses Ed25519 (For scheduled jobs, keep the key in your secret store and update
EdDSA); use algorithm="ES256" for P-256.KID after rotation.4
Next: send records
Follow Uploads for your integration, or Test the Custom Source API for a dry run with sample records.

