Contact Us 1-800-596-4880

Enabling Einstein for Anypoint Code Builder

Anypoint Platform organization administrators must establish a connection with a trusted Salesforce organization in Anypoint Platform access management, and then enable the Einstein for Anypoint Code Builder feature for their Anypoint Platform organization.

Before You Begin

Before enabling Einstein for Anypoint Code Builder, you must:

  • Be familiar with the concept of Salesforce and Anypoint Platform organizations.

  • Have administrative access to an Anypoint Platform organization that isn’t a trial organization and isn’t expired.

  • Have the following Anypoint Platform permissions:

    • Organization Administrator

    • Anypoint Code Builder Developer

    • Mule Developer Generative AI User

  • Have the Organization Administrators role

  • Have administrative access to a Salesforce organization that has Einstein enabled.

  • Establish a tenant relationship between your Anypoint Platform organization and a trusted Salesforce organization.

    When you enable Einstein for Anypoint Code Builder, you select the Salesforce organization to route the Einstein requests through.

The list of available Salesforce organizations is populated with Salesforce organizations that are connected to your Anypoint Platform organization.

If you don’t have a connection established with a Salesforce organization, you can select a Salesforce trial organization when you enable Einstein for Anypoint Code Builder. However, if you already have Einstein enabled in your Salesforce organization then it’s best to select your own Salesforce organization.

Using your private Salesforce organization has these advantages:

  • You can store your Einstein generative AI audit and feedback data in Salesforce Data Cloud. You can use that data for compliance, analytics, prompt adjustments, and LLM tuning to enhance your generative AI applications.

  • You aren’t subject to the rate-limiting policies of the trial organization, which can sometimes result in the service being too busy to process Einstein requests.

Enable Einstein for Anypoint Code Builder

Enable Einstein for Anypoint Code Builder for your Anypoint organization and users:

  1. Sign in to Anypoint Platform from Anypoint Code Builder with your organization administrator account.

  2. On the Anypoint Code Builder landing page, click Get started.

  3. Read the terms and conditions and then click Accept.

  4. Select Enable Einstein for Anypoint Code Builder.

  5. Select the Salesforce organization to route Einstein requests through and click Apply.

    The Salesforce organization you select must have Einstein enabled for your Anypoint Platform organization.

    If your Salesforce organization doesn’t appear in the list of available organizations, verify that you established a connection between your Anypoint Platform and Salesforce organizations. See Establish a Tenant Relationship to a Trusted Salesforce Organization for more information.

  6. Click Test Connection.

    If the connection is unsuccessful, it might mean that Einstein isn’t enabled by the Salesforce organization you are trying to connect to. Contact your Salesforce organization administrator or select a different organization.

  7. When the connection is successful, click Apply.

    Einstein is now enabled for all the users in your Anypoint Platform organization. You can remove the Mule Developer Generative AI User permission to access Einstein from individual users in access management.

Change the Connected Salesforce Organization

The Salesforce organization you are routing Einstein requests through is displayed on the Anypoint Code Builder landing page.

To change the Salesforce organization that Einstein requests are routed through:

  1. Sign in to Anypoint Platform from Anypoint Code Builder with your organization administrator account.

  2. On the Anypoint Code Builder landing page, click Update Settings.

    Einstein banner on the Anypoint Code Builder home page with arrow pointing to the Update Settings button
  3. Select your Salesforce organization from the list, and click Test Connection.

  4. When the connection is successful, click Apply.

Disable Einstein for Anypoint Code Builder

To disable Einstein for Anypoint Code Builder:

  1. Sign in to Anypoint Platform from Anypoint Code Builder with your organization administrator account.

  2. On the Anypoint Code Builder landing page, click Update Settings.

  3. Deselect Enable Einstein for Anypoint Code Builder.

    Einstein for Anypoint Code Builder is now disabled for your Anypoint Platform organization and all the users who are part of your organization. You can reenable Einstein for Anypoint Code Builder any time.