To create google API key visit the link https://console.cloud.google.com/ and login with your google access. After that, you need to create a project for API credentials with some Library permission. Follow the screenshot below:
![](https://themelooks.com/restrofood/wp-content/uploads/2022/04/Screenshot_81.png)
![](https://themelooks.com/restrofood/wp-content/uploads/2022/04/Screenshot_82.png)
Library Support:
![](https://themelooks.com/restrofood/wp-content/uploads/2022/04/Screenshot_83.png)
![](https://themelooks.com/restrofood/wp-content/uploads/2022/04/Screenshot_84.png)
Key Restrictions:
![](https://themelooks.com/restrofood/wp-content/uploads/2022/04/restrict-api.png)