It will open up two fields right below it to input the Consumer Key and Consumer Secret.
Navigate to the WooCommerce > Settings > Advanced > REST API.
Click on the Add Key button
Input the value of description, user, and permissions and click on the Generate API Key button.
It will generate the required API key.
After entering the Consumer Key and Consumer Secret, click the Validate button.