Microsoft's enterprise deployment of OpenAI models with Azure security, compliance, and regional availability.
Full ReviewWix is a popular website builder that empowers millions of businesses to create and manage professional websites without deep technical expertise. From small business sites to e-commerce stores, Wix handles hosting, design, and content management in one platform. However, creating compelling website content, managing customer interactions, and keeping a site updated with fresh material remains a time-consuming challenge for most site owners.
Azure OpenAI Service provides access to powerful AI models like GPT-4 and DALL-E through Microsoft's enterprise cloud, offering a secure and scalable way to add intelligent capabilities to any workflow. When paired with Wix, Azure OpenAI can generate website copy, power chatbots embedded on your site, create product descriptions at scale, and help with SEO optimization — all through API calls that integrate with Wix's development tools.
This combination is particularly valuable for agencies managing multiple Wix sites, e-commerce businesses with large product catalogs, and any site owner who wants to add AI-powered features without migrating to a different platform.
Sign into the Azure Portal at portal.azure.com and create a new Azure OpenAI resource. Choose your subscription and resource group, select a supported region, and complete the provisioning. Azure OpenAI requires an approval application — submit it through the Azure Portal link and wait for Microsoft's confirmation. Once approved, go to your resource's "Keys and Endpoint" section and copy your API key and endpoint URL.
From your Azure OpenAI resource, open Azure OpenAI Studio. Navigate to Deployments, click "Create new deployment," and select GPT-4 or GPT-3.5-turbo. Name your deployment something descriptive like "wix-content-generator" and configure the rate limits. Save the deployment name for use in your API calls.
Open your Wix site in the Editor. Click "Dev Mode" in the top menu bar and toggle on Velo by Wix. This unlocks the code panel, backend files, and the ability to make HTTP requests from your site. Create a new backend file by clicking the "+" icon in the file tree under "Backend" and name it "openai.jsw" (the .jsw extension makes it a web module callable from frontend code).
In the Velo sidebar, open the Secrets Manager (found under Developer Tools). Add a new secret called "AZURE_OPENAI_KEY" and paste your API key. Add another secret called "AZURE_OPENAI_ENDPOINT" with your endpoint URL. Using the Secrets Manager ensures your credentials are never exposed in frontend code or to site visitors.
In your openai.jsw backend file, import the wix-secrets-backend module and the wix-fetch module. Write a function that retrieves your API key and endpoint from the Secrets Manager, constructs a POST request to https://{endpoint}/openai/deployments/{deployment-name}/chat/completions?api-version=2024-02-01, includes the api-key header and a JSON body with your messages array, and returns the parsed response. Export this function so it can be called from your site's frontend pages.
On any Wix page, open the code panel and import your backend function. You can wire it to a button click, a form submission, or a chatbot interface. For a chatbot, add a text input and a text box to your page, then write frontend code that calls your backend function with the user's message and displays the response. For content generation, create an admin-only page where you can input product details and receive generated descriptions that you then copy to your product pages.
Azure OpenAI Service Full Review » | All Wix Tools »