1. Home
  2. Knowledge Base
  3. WooCommerce
  4. Setting up WooCommerce User Account and API

Log in to the back-end of WordPress website, select Users, then click “Add New”. You can skip this step if you are going to use existing Administrator or Shop Manager user.

Input your Username, Email, Password. Select “Shop Manager” or “Administrator” as Role. Then Click “Add New User”.

Make sure the Rest API is enabled.

Select “Keys/Apps”, and click “Add Key”.

Select the user you have just created or existing administrator, select Read/Write for Permissions, then click “Generate API Key”.


Please leave this screen on and Login to the system Setup.

Input your website URL and copy paste Consumer Key and Secret to the setting screen, then click “Test Connection”.

Input the username and password you have just created or existing administrator username and password.

WordPress username and password are needed to upload images from POS to WordPress. If you get “Forbidden” error, or “The underlying connection was closed” error, please download and install JWT Authentication for WP REST API. Please follow the requirements and configuration on this page.

(The following steps are not required if you don’t use JWT)
Put these lines at end of <IfModule mod_rewrite.c> section, before </IfModule> in .htaccess file:
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) – [E=HTTP_AUTHORIZATION:%1]
SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
Put this line after define(‘NONCE_SALT’) in wp-config.php file: (please change the secret key to any random charactors)
define(‘JWT_AUTH_SECRET_KEY’, ‘-?-K8cD>75:yhE&72xy@/n9fw|SE~N=:?(P$MarwH A9@-ku:4jbL1Nb6,j%.#kR’);


Finally, check rest of settings and click Save.

Was this article helpful?