To create API credentials in WooCommerce:

  1. Log in to your WooCommerce admin panel.
  2. Navigate to WooCommerce > Settings.
  3. Click on the “Advanced” tab.
  4. Select the “REST API” option.
  5. Click on the “Add Key” button.
  6. Provide a Description for your API key to identify its purpose.
  7. Choose the User associated with the API key.
  8. Select the Permissions for the API key (read/write access).
  9. Click on the “Generate API Key” button.
  10. Your API key and secret will be generated. Make sure to copy and securely store them.