Follow these steps to set up a new WooCommerce Application for API integration.
Turn on the WordPress
Settings > Permalinks.
See the WooCommerce API Documentation for more information.
Via a web browser go to your store front and sign in to your WP Admin Dashboard.
Click “WooCommerce” on the left hand side panel and click “Settings”
Check “Enable the REST API”
In the same screen select Click “Keys/Apps”
Click “Add Key”
Input Key Details and select Read/Write
Click “Generate API Key”
Copy your API Key and Secret