Connect CJ (Commission Junction)

Personal Access Token + Publisher ID · Updated June 18, 2026

CJ reads through its REST API using a Personal Access Token (PAT) you generate yourself, scoped to your own publisher account. ChaffChing only ever reads commission data — a read-only token is all it needs, and your keys stay in your device Keychain.

ChaffChing asks for

Before you start

Step 1 — Create a Personal Access Token

  1. Sign in to the CJ Developer Portal at developers.cj.com with your CJ account.
  2. In the left sidebar open Authentication → Personal Access Tokens (direct link: developers.cj.com/account/personal-access-tokens).
  3. Under Register a New Personal Access Token, give it a name (e.g. "ChaffChing") and choose Register.
  4. Copy the token immediately. CJ shows the full token only once — once you leave the page it's hidden for good. If you lose it, revoke it and register a new one.
Open CJ Developer Portal

CJ sends the token as a Bearer credential. Paste it into ChaffChing's Personal Access Token field exactly as copied.

Step 2 — Find your Publisher ID (CID)

  1. Sign in to your CJ account at junction.cj.com.
  2. Your CID (Company ID) sits in the upper-right corner, next to your username. It's a numeric account ID, typically 7 digits.
  3. Paste it into ChaffChing's Publisher ID (CID) field.

Don't confuse the CID (your account, top-right) with the PID (a Website / Promotional Property ID under Account → Websites). ChaffChing needs the CID. CJ explains the difference in Identification: It's Everywhere.

Troubleshooting

"Could not authenticate"

The token is wrong, was only partly copied, or has been revoked. Generate a fresh PAT (Step 1) and paste the whole string — CJ tokens are long.

Connected, but no sales

Confirm you're approved into at least one advertiser program, double-check the CID (not a PID), and run Re-sync history from the ⋯ menu to pull the last 90 days.

Official references