---
schema_version: "1"
id: c5fef145e4152829937863ad644f7a0b7d6220e597f6f458e89c29b93ae0693c
title: Agentforce and Generative AI for Developers
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/generative_ai_develop.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.generative_ai_develop.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ac4ab6e62b5c9ce0b5299e79ca7fd364e0ff44cd5002b7e532e0b80b933dae2c
description: Build powerful applications for your business with Agentforce and generative AI developer features.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Agentforce and Generative AI for Developers

Build powerful applications for your business with Agentforce and generative AI developer features.

The Agentforce Developer Guide provides guidance for developers using AI agents and generative AI features. This guide contains developer information for Prompt Builder, AI Models (formerly Einstein Studio), Models API, and Agentforce. Access large language models (LLMs) through Apex classes and REST endpoints. Communicate with AI agents using a REST API. Our partners, including Anthropic, Google, and OpenAI, provide the models, while the Einstein Trust Layer protects your data and your users with each interaction.

![Einstein generative AI developer banner.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/generative_ai/images/einstein_gen_ai_developer_banner.png)

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:6.5420560747663545%">
        <col style="width:93.45794392523365%">
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
            <a name="generative_ai_develop__image_jr4_y3b_qcc"><!-- --></a><span style="vertical-align:text-bottom;display:inline-block;"><img style="width:35px;margin-bottom:0;" id="generative_ai_develop__image_jr4_y3b_qcc" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/resources-global/_corporate/images/learning_minimap/help_minimap.png" alt="Help resources. Icon."></span>
          </td>

          <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
            <p>Learn about Agentforce and Einstein Generative AI for developers.</p><a name="generative_ai_develop__ul_kr4_y3b_qcc"><!-- --></a>
            <ul id="generative_ai_develop__ul_kr4_y3b_qcc">
              <li><a href="https://developer.salesforce.com/docs/ai/agentforce/guide/get-started.html" target="_blank">Get Started with Agentforce and Generative
                  AI</a></li>

              <li><a href="https://developer.salesforce.com/docs/ai/agentforce/guide/agent-script.html" target="_blank">Get Started with Agent Script</a></li>

              <li><a href="https://developer.salesforce.com/docs/ai/agentforce/guide/agent-dx.html" target="_blank">Get Started with Agentforce DX</a></li>

              <li><a href="https://developer.salesforce.com/docs/ai/agentforce/guide/get-started-agents.html" target="_blank">Get Started with Agentforce APIs and SDKs</a></li>

              <li><a href="https://developer.salesforce.com/docs/ai/agentforce/guide/models-api.html" target="_blank">Get Started with Models API</a></li>

              <li><a href="https://developer.salesforce.com/docs/ai/agentforce/guide/get-started-prompt-builder.html" target="_blank">Get Started with Prompt Builder</a></li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
            <a name="generative_ai_develop__image_lr4_y3b_qcc"><!-- --></a><span style="vertical-align:text-bottom;display:inline-block;"><img style="width:35px;margin-bottom:0;" id="generative_ai_develop__image_lr4_y3b_qcc" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/resources-global/_corporate/images/learning_minimap/trailhead_minimap.png" alt="Traihead resources. Icon."></span>
          </td>

          <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
            <p>Use Trailhead to build and test your skills.</p><a name="generative_ai_develop__ul_mr4_y3b_qcc"><!-- --></a>
            <ul id="generative_ai_develop__ul_mr4_y3b_qcc">
              <li><a href="https://trailhead.salesforce.com/content/learn/modules/get-started-with-einstein-models-api" target="_blank">Get Started with the Models
                  API</a></li>
              <li><a href="https://trailhead.salesforce.com/content/learn/modules/einstein-for-developers" target="_blank">Agentforce for
                  Developers</a></li>
              <li><a href="https://trailhead.salesforce.com/content/learn/modules/prompt-builder-basics" target="_blank">Prompt Builder
                  Basics</a></li>
            </ul>
          </td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
            <a name="generative_ai_develop__image_nr4_y3b_qcc"><!-- --></a><span style="vertical-align:text-bottom;display:inline-block;"><img style="width:35px;margin-bottom:0;" id="generative_ai_develop__image_nr4_y3b_qcc" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/resources-global/_corporate/images/learning_minimap/dev_minimap.png" alt="Developer resources. Icon."></span>
          </td>

          <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
            <p>Write code with Agentforce and Einstein Generative AI.</p><a name="generative_ai_develop__ul_or4_y3b_qcc"><!-- --></a>
            <ul id="generative_ai_develop__ul_or4_y3b_qcc">
              <li><a href="https://developer.salesforce.com/docs/ai/agentforce/guide/ascript-example.html" target="_blank">Agent Script Examples</a></li>

              <li><a href="https://developer.salesforce.com/docs/ai/agentforce/guide/agent-api-examples.html" target="_blank">Agent API Examples</a></li>

              <li><a href="https://developer.salesforce.com/docs/ai/agentforce/guide/access-models-api-with-apex.html" target="_blank">Apex Examples with Models API</a></li>

              <li><a href="https://developer.salesforce.com/docs/ai/agentforce/guide/access-models-api-with-rest.html" target="_blank">REST Examples with Models API</a></li>

              <li><a href="https://developer.salesforce.com/docs/ai/agentforce/guide/build-lwc-flow-models.html" target="_blank">Lightning Web Components with Models API</a></li>

              <li><a href="https://opensource.salesforce.com/einstein-platform/" target="_blank">LLM Open Connector Examples</a></li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
            <a name="generative_ai_develop__image_pr4_y3b_qcc"><!-- --></a><span style="vertical-align:text-bottom;display:inline-block;"><img style="width:35px;margin-bottom:0;" id="generative_ai_develop__image_pr4_y3b_qcc" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/resources-global/_corporate/images/learning_minimap/video_minimap.png" alt="Video resources. Icon."></span>
          </td>

          <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
            <p>Watch these videos to see generative AI developer features in action.</p><a name="generative_ai_develop__ul_qr4_y3b_qcc"><!-- --></a>
            <ul id="generative_ai_develop__ul_qr4_y3b_qcc">
              <li><a href="https://salesforce.vidyard.com/watch/xUFGdoeFdzycSrmNK9j7Kp" target="_blank">Build a Lightning Web Component with the Models API</a></li>
              <li><a href="https://salesforce.vidyard.com/watch/CuJRahNcxoVFTA6bwRdhXW" target="_blank">Access the Models REST API</a></li>
              <li><a href="https://developer.salesforce.com/developer-centers/einstein-1-studio" target="_blank">More videos at the Agentforce Developer Center</a></li>
            </ul>
          </td>

        </tr>
      </tbody>
    </table>

Explore this developer guide to learn how to develop applications with generative AI.

![Einstein generative AI developer footer.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/generative_ai/images/einstein_gen_ai_developer_footer.png)

#### See Also

- [Agentforce Developer Guide](https://developer.salesforce.com/docs/ai/agentforce/overview)