You can install the client library with pip:
pip install --upgrade fireworks-ai
You can authenticate with Fireworks by setting the fireworks.client.api_key variable:
fireworks.client.api_key
fireworks.client.api_key = "<API_KEY>"
Or by setting the FIREWORKS_API_KEY environment variable:
FIREWORKS_API_KEY
export FIREWORKS_API_KEY=<API_KEY>
Was this page helpful?