---
title: Configure AI-generated product descriptions
slug: commerce-connect-14/docs/configure-ai-generated-product-descriptions
docTags: 
createdAt: 2026-07-23T10:25:34.370Z
---

:::hint{type="success"}
**Beta**
This feature is currently in beta.
:::

You can use generative AI in Optimizely Commerce Connect to [generate text from a product property](docId\:j5ZT0XvVqvzCpNOZx_BHU).

:::hint{type="info"}
- **Note**
  This feature is available only for DXP customers. If you are a DXP customer and would like to enable the AI feature, submit a [Support ticket](https://support.optimizely.com/hc/en-us/requests/new) or send an email to [support@optimizely.com](mailto\:support@optimizely.com).
- This feature only supports the XHtmlstring data type to generate AI content.
:::

## Request to configure AI

Optimizely uses a request-based process to access AI functionality while the service is rolled out to PaaS products. The Support team helps configure the AI service for your project in the PaaS portal.

## Update the source code

In your CMS site project, open the `Startup.cs` file and add the code to specify which properties of your product models you want to apply the AI generation feature. The following example code adds the `ConfigureServices` method in the `Startup.cs` file:

```csharp
services.Configure<TinyMceConfiguration>(config => 
{ 
    config.UseOpalAIForProperties<FashionProduct>(x => x.Description, x => x.LongDescription); 
    config.UseOpalAIForProperty<FashionBundle>(x => x.Description); 
}); 
```

- **UseOpalAIForProperties** – Apply AI for multiple properties of a product model.
- **UseOpalAIForProperty** – Apply AI for a property of a product model.
- **FashionProduct and FashionBundle** – These are sample product models and Description and LongDescription are its properties. Replace with your product models and properties as you want.

Re-build the project. When you get confirmation from the previous step, you can redeploy the site and use the feature.
