When an API requires an API key and the API is associated with a
Google Cloud project that you don't have access to, you have the
following options to obtain an API key:
Option 1: Ask a security admin to create an API key for you.
Option 2: Ask a security admin to
grant you access to the project
so that you can create an API key in the same project that the API is
associated with.
Option 3: Ask a security admin to
grant you access to enable the API
in your own Google Cloud project so that you can create an API key.
If you used option 3 and asked someone to grant you access to enable the
API, follow the steps below to enable the API in your own Google Cloud
project.
To enable an API:
Console
In the Google Cloud console, go to APIs & services for your
project.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis content outlines options for obtaining an API key when the API is associated with a Google Cloud project you lack direct access to.\u003c/p\u003e\n"],["\u003cp\u003eThere are three main options for getting an API key: requesting a security admin to create one, gaining project access to create one yourself, or gaining access to enable the API in your own project.\u003c/p\u003e\n"],["\u003cp\u003eIf you choose to enable the API in your own Google Cloud project, you can do so through the Google Cloud console or by using \u003ccode\u003egcloud\u003c/code\u003e commands.\u003c/p\u003e\n"],["\u003cp\u003eIf you cannot find the API in either the Console's Private API list or the \u003ccode\u003egcloud services list --available\u003c/code\u003e output, it means you have not been granted the necessary access.\u003c/p\u003e\n"]]],[],null,[]]