What you’ll learn:
- How to use a Metorial provider
- How to use the Metorial SDKs
- Create a Metorial project
- Configure at least one provider or integration
- Create an API key
1
1. Install the SDKs
Run the installer for your language of choice:
2
2. Configure Clients
Instantiate both clients with your API keys and your provider deployment ID.
3
3. Fetch Your Provider Tools
Create a session that exposes your deployed provider tools.
4
4. Send Your First Prompt
Kick off the loop by sending an initial message.
5
5. Loop & Handle Tool Calls
- Send
messagesto OpenAI, passing the tools. - If the assistant response contains
tool_calls, invoke it:
- Append both the tool call requests and their results to
messages. - Repeat until the assistant’s response has no more
tool_calls.
6
6. Display the Final Output
Once there are no more tool calls, your assistant’s final reply is in:
What’s Next?
You are set up to use Metorial provider tools in an application. Next, review the observability tooling available for sessions, connections, and tool calls.Next Up: How to monitor your provider and tool calls
Learn how to use the observability & logging features.