How to add forms to your AI Hosting website
Create your form in your AI tool, then upload the prepared website to AI Hosting. This works for a new website or an update to an existing one. AI Hosting does not have a form builder for editing the uploaded website.
You need Manage AI Hosting permission to upload, publish and set destinations, plus View AI Hosting messages to check enquiries.
For an existing website, start with how to update your website and upload a new version.
1. Create the form in your AI tool
Add your form. Open your website's AI conversation and ask for the fields you need, clear labels and a submit button.
Example request: Add a contact form with Name, Email and Message, keeping the rest of my website unchanged.
Review the result. Check the form's layout, wording and required fields. Form file attachments are not supported.
2. Prepare, upload and publish
The preparation prompt connects supported forms to AI Hosting. A form that only displays a simulated success message is not enough.
New forms appear in settings when the package is made active, rather than on upload alone. If you want email alerts from the first live submission, save the default destination described in section 3 before making the package active.
Get the prompt. In AI Hosting, open Website packages > Add new website package and select Run the preparation prompt. During setup, use View and copy the preparation prompt instead.
Prepare your website. Copy and run the prompt in the same AI conversation after making your form changes.
Export a fresh ZIP. Include index.html, webfactory.json and the required website assets.
Choose when to go live. Enter a Package name. Clear Make this package active after upload if you want to preview first; it is selected by default.
Upload the ZIP. Choose your file and select Upload package.
Check the preview. Open the saved package's Preview and test the form. Preview submissions do not save messages or send email.
Make the package active. If it is not already active, return to Website packages, select Set active and confirm. AI Hosting registers its supported forms automatically.
3. Choose the email destination
Under Form destinations:
- Default form destination applies to forms without their own address. You can set it before publishing.
- A form-specific destination replaces the default for that form.
Use up to five email addresses per destination, separated by commas. If both destinations are blank, enquiries are saved in Messages without email notifications.
Open settings. In your AI Hosting product, select Settings > General settings.
Set the default. Enter your usual recipients in Default form destination.
Add an override if needed. Enter different recipients beside a registered form, or leave its field blank to use the default.
Save. Select Update settings and check the confirmation.
4. Test the published form
Use the live website for this check. A package preview only tests validation.
Send a test enquiry. Open the published website and submit the form.
Check Messages. Confirm that the enquiry appears in your AI Hosting Messages inbox.
Check the recipient's inbox. If email recipients are configured, confirm receipt. Notification queued means the email entered the sending queue; it does not confirm delivery.
Changing the form later
Edit it in your AI tool, prepare a fresh ZIP and upload a new version. Keep the form's identifying name unchanged to retain its destination. Check destinations again for a newly named form.
For more help, see uploading a website, viewing website messages or troubleshooting uploads.