# WooCommerce API

## Generate WooCommerce Api Key&#x20;

1. It's required to turn on the WordPress permalink on ***`Settings > Permalinks`***
2. Visit ***`WooCommerce > Settings > Advanced > REST API`*** tab and tick the Enable REST API Checkbox
3. Visit ***`WooCommerce > Settings > Advanced > Legacy API`*** tab and tick the Enable Legacy REST API Checkbox
4. Go to API ***`WooCommerce > Settings > Advanced > REST API > Keys/Apps > Add Key`***
5. Select the user in user field and add a description. Choose level of access Read/Write. then select the button Generate API Key.
6. Now you should see two new keys, These two keys are your Consumer Key and Consumer Secret
7. Use these ConsumerKey and ConsumerSecrete when you build mobile app
