title | description |
---|---|
Make Your First Request |
Integrate Portkey and analyze your first LLM call in 2 minutes! |
Create or log in to your Portkey account. Grab your account's API key from the "Settings" page.
Based on your access level, you might see the relevant permissions on the API key modal - tick the ones you'd like, name your API key, and save it.
Portkey offers a variety of integration options, including SDKs, REST APIs, and native connections with platforms like OpenAI, Langchain, and LlamaIndex, among others.
If you're using the OpenAI SDK, import the Portkey SDK and configure it within your OpenAI client object:
You can also use the Portkey SDK / REST APIs directly to make the chat completion calls. This is a more versatile way to make LLM calls across any provider:
Once, the integration is ready, you can view the requests reflect on your Portkey dashboard.
<video autoPlay muted loop playsInline className="w-full aspect-video" src="/images/welcome/make-your-first-request.mp4"
Now that you're up and running with Portkey, you can dive into the various Portkey features to learn about all of the supported functionalities:
While you're here, why not [give us a star](https://git.new/ai-gateway-docs)? It helps us a lot!