When connecting more than one WordPress site to your BigCommerce store, you need to use an API account to link them. If you try to connect using the ‘connect your store’ flow, which uses a BigCommerce app to streamline the connection, your first WordPress site will lose its connection to BigCommerce.
Multiple sites can share the same API credentials or you can choose to create a new set of credentials for each site.
Getting Your API Credentials
- To get your store’s API credentials, log into your BigCommerce store and head to
API Accounts. Then, click the blue
Create API Accountbutton on the top left hand side.
Create API Account. This will open up a screen that will ask you to define a name and OAuth Scopes for the API account. For the OAuth Scopes, select the following:
- Checkout Content:
- Customers Login:
modify for all other scopes.
The screen will also contain your API Path, which you will need for the WordPress Plugin.
We suggest ‘WordPress’ for the name, although you can name it anything you’d like as long as it’s unique within your API accounts and is more than 3 characters.
- After you have finished setting a name and selecting scopes, press
Save. You will then see a modal that contains the
Access Tokennecessary for the remaining fields in the WordPress API Credentials settings.
You’ll also see a
.txt file download in your browser that contains the same information in an easy-to-read format, including your API Path again in case you didn’t copy it before.
Setting up a WordPress Site Using API Account Credentials
- To set up a WordPress site using this method, click
Enter your API credentialson the welcome screen in the plugin.
After clicking the text, you will be asked for your store’s API credentials and base path.
- Enter the API credentials on your WordPress site. Saving the API Credentials on your WordPress site will take you to name the channel that the plugin will create so that you can list products to the channel from within BigCommerce, and link orders back to the channel that come from the WP site. You can also link to an existing channel.
Congratulations, you’re done setting up your additional site!
The WordPress sites you connect to your BigCommerce store will process in the same currency as the BigCommerce store.