Setting up USPS
Set it up in test mode first where USPS offers one, and switch to live when a test has worked. Allow an hour, plus any time that USPS needs to approve your account.
2 min read
What you need first
- A USPS business account in the Business Customer Gateway, and an app on the USPS developer portal.
- Labels need USPS's approval: enrolment in USPS Ship and an Enterprise Payment System (EPS) account or a permit.
Your keys and where to find them
| Field | Where it comes from |
|---|---|
| Consumer Key and Consumer Secret | On the USPS developer portal (developer.usps.com), open Apps and add an app. The app shows its Consumer Key and Consumer Secret. The test system has its own app and keys. |
| CRID and MID | Your Customer Registration ID and Mailer ID, from your Business Customer Gateway account. Your BCG administrator can tell you both. |
| Payment Account Number | The number of your EPS account, permit or meter, with its type. |


Set it up
- Open Inventory›Configuration›Settings and, under Shipping Connectors, switch on the USPS connector.
- Open Settings›Integrations and choose the tab Add an integration.
- Find USPS and click Add. Give the connection a name you will recognise, for example your USPS account, and click Add.
- The connection page opens. Under Test, enter the account details from USPS (the table above says where to find each one) and click Save test credentials.
- Switch the state to Test and click Test connection. A green sentence means USPS accepted the account. A carrier without a sign-in check says so: book a test shipment instead.
- Open Inventory›Configuration›Delivery Methods and create a method: pick USPS as the provider, this connection as the account, then the service, the label format and where the method is offered (Sales, Website, Point of Sale).
- When a test shipment goes through, enter the live account details under Live and click Go live.
Test and live
Every connection keeps two sets of account details: one for Test and one for Live. You can fill both at any time; the state decides which one is used.
In Test, USPS answers from its test system: rates and labels are samples, nothing is charged and no parcel is collected.
Go live asks you to confirm. From then on labels are real and charged to your USPS account. You can switch back to Test or to Inactive at any time; nothing is deleted.