Use the OpenAI SDK you already know or call the HTTP API directly. OpenWaya authenticates, applies policy, selects a healthy route, meters usage, and returns one compatible response.
01 / Create a key
Keep credentials outside your code.
Create a workspace-scoped key in the dashboard with only the permissions and limits this application needs. The full value is shown once; store it in your server-side secret manager and never expose it in browser JavaScript.
Supported message shapes, streaming loops, and response parsing stay in place. Add the OpenWaya base URL and choose an explicit catalog model or openwaya/auto. Review unsupported fields before moving production traffic.