AI-Powered Data Modeling

erwin DM offers AI-powered data modeling feature that enable you to streamline reverse engineering tasks. With AI assistance, you can generate data models automatically, reducing the need for manual setup. This capability help you save time, minimize errors, and improve overall efficiency.

The AI is available only for RES.

Prerequisites

Ensure that the following prerequisites are in place:

  • Purchase of the erwin Data Modeler AI Add-On and receipt of a welcome email with the licensing portal URL and license number. If you haven't received the email, contact your support team.

  • Access to the Quest Licensing portal at https://licensing.ism.quest.com

  • Internet connectivity for key generation and validation

  • Access to erwin Mart Portal

  • AI Credentials: AI License Key, Client Id, and Client Secret

Workflow

The AI workflow for Reverse Engineering includes the following steps:

  1. Assign Users

  2. Enable the Feature

  3. Create Access Keys

  4. Enable AI Licenses

  5. Use AI for Reverse Engineering

Assigning Users to Licenses

To assign users to an activated license in the Quest Licensing Portal, follow these steps:

  1. Log in to the Quest Licensing portal using the same email address that received the welcome email.

    The account info empty page appears. By default, the Overview tab opens and displays the activate licenses.

  2. Under Overview, on the Account Info Empty Licenses card, click View Licenses.

    The Organization Licenses tab opens and you can view your active license here.

  3. On the active license, click Manage.

    The license page opens.

  4. Click the Seats tab, and click to assign users.

    The Assign Users page dialog box appears.

  5. Enter the same email address that you used to log in to the Quest Licensing portal, and then click Assign.

Enabling the Feature

Once the users are assigned, you need to enable the AI feature.

To enable AI feature, follow these steps:

  1. On the Settings tabs, click Features.

  2. In the Features section, next to AI, click Enable Feature.

    The Enable AI dialog box appears.

  3. Review the terms of usage and select both the conditions, and then click Apply.

Creating Access Keys

You can now create the access key required to initiate erwinAI.

To create access keys, follow these steps:

  1. On the Profile menu, select My Access Keys or go to https://licensing.ism.quest.com/user/access-keys.

    The My Access Keys page opens.

  2. Click Add Access Key.

  3. Enter a key identifier in the corresponding field, and then click Add. For example, erwinDMAI_key_client. Access key is generated from your email address and this unique identifier.

    In the Access Secret dialog box, Access Key Identifier and Access Key Secret are displayed.

  4. Click Copy Secret to copy. Save the Access Key Secret. It will not be displayed again.

Enabling AI Licenses

By default, AI features are disabled. To enable them, you need to configure your license using AI credentials through erwin Mart Portal and ensure that erwin DM is connected to the erwin Mart Portal.

To enable AI features, follow these steps:

  1. Log in to the erwin Mart Portal.

  2. Go to Application Menu > Settings > General.

    The General page appears.

  3. Scroll to the DM AI Credentials section.

  4. Enter your AI License Key, Client Id, and Client Secret in the appropriate fields.

  5. Click Save.

    Your AI credentials are saved, and AI features are enabled in erwin DM.

Using AI for Reverse Engineering

You can use Generative AI to generate scripts during the Reverse Engineering process. This section walks you through the process of reverse engineering a MongoDB model from scripts using AI as an example. Similarly, you can reverse engineer data models for other target databases. You can use GenAI in the following scenario: