In order to establish the Canada Post API connection you will need to enter the login credentials at the very top of the plugin configuration screen:
![Canada Post Woocommerce Live Rates Api Settings](https://octolize.com/docs/wp-content/uploads/canada-post-woocommerce-live-rates-api-settings.png)
As you can see they consist of:
- Username
- Password
- Customer Number
Once your login credentials were entered and Save changes button hit, the API Connection Status should change to OK and turn green.
Obtaining the credentials will require creating a Canada Post account, which you will find described step-by-step below.
Creating a new Canada Post account
First of all, start with visiting the Canada Post site at https://www.canadapost-postescanada.ca/cpotools/apps/drc/home.
Click Join NOW button:
![Canada Post How To Create An Account Canada Post Site](https://octolize.com/docs/wp-content/uploads/canada-post-how-to-create-an-account-canada-post-site-1024x561.png)
You should be redirected to the login page. You can use your existing Canada Post account or register a new account. If you already have a Canada Post account, fill in your login details and click Sign In button.
If you want to create a new account, click Register now button.
![Canada Post How To Create An Account Canada Post Login Page](https://octolize.com/docs/wp-content/uploads/canada-post-how-to-create-an-account-canada-post-login-page-1024x561.png)
To get Canada Post API login credentials you need to create your Canada Post business profile.
![Canada Post How To Create An Account Canada Post Business Account](https://octolize.com/docs/wp-content/uploads/canada-post-how-to-create-an-account-canada-post-business-account-1024x561.png)
Sign up using your existing customer number or click Sing up for customer number button if you don’t have one yet.
![Canada Post How To Create An Account Customer Number](https://octolize.com/docs/wp-content/uploads/canada-post-how-to-create-an-account-customer-number-1024x561.png)
Create your Canada Post business profile by filling in the necessary information.
After successful verification you can go back to https://www.canadapost-postescanada.ca/cpotools/apps/drc/home and after logging in, join the Developer Program.
![Canada Post How To Create An Account Canada Post](https://octolize.com/docs/wp-content/uploads/canada-post-how-to-create-an-account-canada-post-1024x561.png)
After joining the Developer Program, the next screen will include:
![Canada Post How To Create An Account Api Keys](https://octolize.com/docs/wp-content/uploads/canada-post-how-to-create-an-account-api-keys-1024x561.png)
- Customer Number (1)
- API Keys (2)
- Username
- Password
Enter them on the Canada Post Live Rates plugin configuraton screen at WooCommerce → Settings → Shipping → Canada Post Live Rates and hit the Save changes button at the bottom.
Using already existing Canada Post account
If you already have existing Canada Post account, you can simply join the Development Program. In order to do that log in to your Canada Post account and click Join NOW button and access the Developer Program here.
![Canada Post How To Create An Account Canada Post](https://octolize.com/docs/wp-content/uploads/canada-post-how-to-create-an-account-canada-post-1024x561.png)
The next screen will include:
![Canada Post How To Create An Account Api Keys](https://octolize.com/docs/wp-content/uploads/canada-post-how-to-create-an-account-api-keys-1024x561.png)
- Customer Number (1)
- API Keys (2)
- Username
- Password
Enter them on the Canada Post Live Rates plugin configuration screen at WooCommerce → Settings → Shipping → Canada Post Live Rates and hit the Save changes button at the bottom.