Custom component with google map js API, dealing with API key

Hi,
Does someone know how to manage the boilerplate/cookiecutter step for making a custom component with the google map js API ? I don’t know how to manage the GoogleApiWrapper which is a custom react class.
Thanks.