PHASEO_API_KEY to Replit Secrets, then call Phaseo with the OpenAI SDK or the Phaseo AI SDK provider. Keep the key out of your source code.
Add the secret
In your Replit workspace, open Tools → Secrets and add:Call Phaseo
ok means the secret and base URL work.
Deploy
AddPHASEO_API_KEY to the deployment’s secrets as well as the workspace. Make sure the deployment doesn’t print environment variables or request headers to its logs.