Configure the host connection
The optional relay is api/assistant.php. It requires PHP 8.1 or later with cURL, HTTPS, an OpenAI API key held by the server, and a private workspace access code of at least 24 random characters. Keep that code restricted to people allowed to use your provider budget.
- Set
FLUTTERFEVER_OPENAI_KEYandFLUTTERFEVER_AI_ACCESSin the hosting environment. - If environment settings are unavailable, place
flutterfever-ai-config.phpoutsidepublic_html, using the repository example. - Keep the allowed model list limited to models available to your account.
- Open AI connection settings, select OpenAI GPT and enter the workspace access code, not the OpenAI API key.
The relay calls the Responses API, limits request sizes and request frequency, and leaves provider response storage disabled. It is disabled until configured. Do not upload a real key inside the static build. See OpenAI authentication guidance and the repository setup notes. A plain static preview server cannot execute PHP.
Verify before sharing access
- Confirm PHP and cURL on the actual host.
- Keep credentials outside the public build and version control.
- Set the private access code and allowed models.
- Verify rejection of unauthorized requests.
- Test a small authorized request with your approved budget.
- Review usage before allowing more users.
A static server cannot execute PHP. A successful web build does not prove equivalent host settings. Do not publish the access code as an unlimited free AI credential: authorized relay requests consume the host's provider budget.
Separate provider keys and access codes
The browser uses a workspace access code. The server uses its own OpenAI key. These credentials have different jobs. Entering an OpenAI key into the code field does not configure the host.
The relay bounds payloads and frequency and disables provider response storage in its request. This does not promise zero provider retention or unlimited capacity. Account access, policies and billing still apply. Read session handling and official authentication guidance before changing server integration.
Keep a rollback copy of the scoped tool deployment. Preserve WordPress and unrelated tutorial folders. When access should end, rotate the host's access code and review provider key settings separately. A browser refresh restores the saved user connection. Removing it does not revoke the server credential; manage server access separately.
Support the connection without publishing a secret
Give authorized users the connection instructions and access code through an appropriate private channel. Public documentation should explain where to enter the code without including a real code or key. If a request fails, ask for the visible error and chosen provider/model; do not ask someone to publish their credential in a screenshot.
Rotate access when needed and monitor the provider account separately. The visual editor remains usable when AI is unavailable, so a temporary relay failure should not require removing manual design, preview or source export from the tool.