Use your own Vertex AI credits through Keywords AI
There are 2 ways to add your Vertex AI credentials to your requests:
Go to the Providers page
Go to Providers page
Add your Vertex AI credentials.
(Optional) Choose models you want to use credits
You can choose the models you want to use your credits with. Just simply type the model ID from the Models page and copy the model id and paste it in the Available models. Press Enter
to add the model.
Leave it empty to apply your credentials for all Vertex AI models.
Add customer_credentials
parameter in your request body to use your own Vertex AI credits.
One-off credential overrides. Instead of using what is uploaded for each provider, this targets credentials for individual models.
gcloud init
to initialize the gcloud CLI.gcloud info
to get the path of your credential. You will see a line like User Config Directory: [/home/USERNAME/.config/gcloud]
application_default_credentials.json
in the path you got from the previous step. This file contains your credentials.vertex_ai_credentials
field in the request body.For example:
Example