Log into your WordPress instance with admin access and navigate to WooCommerce on the left panel and
navigate to WooCommerce > Settings > Advanced > REST API.
Click the “Add Key” button. In the next screen, add a description and select the WordPress user you would like to generate the key for.
Choose the level of access for this REST API key, which can be Read access, Write access, or Read/Write access. Then click the “Generate API Key”
button and WooCommerce will generate keys for the selected user.