Einstein For Developers (Beta)
Overview
The Einstein for Developers extension is an AI powered developer tool built using CodeGen, Salesforce’s secure, custom AI model. Note that the extension does not use customer data to train our LLM.
Einstein for Developers is enabled by default in your Salesforce orgs. When used along with IntelliSense, this tool makes Salesforce development in Visual Studio Code even richer.
- Use inline autocompletion to automatically receive suggestions as you write Apex and LWC code.
- Generate Apex unit tests for your code to help improve your code coverage and get your Apex code ready for deployment.
- Enter natural language instructions in a sidebar, so you can work with your editor and the tool side by side, without any interruptions to your workflow. Or use the VS Code Command Palette to enter a prompt describing what you’d like to build and then generate code suggestions within your editor.
Go to Einstein for Developers Set Up Documentation to learn more.
Note: Einstein for Developers uses generative AI, which can produce inaccurate or harmful responses. The output generated by AI is often nondeterministic. Before using the generated output, review it for accuracy and safety. You assume responsibility for how the outcomes of Einstein are applied to your organization.
Prerequisites
Before you set up Einstein for Developers, make sure that you have these essentials.
What can Einstein for Developers Do?
Use Einstein for Developers, an AI-powered developer tool, to enhance developer productivity. The extension is enabled by default in your Salesforce org.
- Use the inline code auto-completion feature to get completions for Apex and LWC (Javascript, HTML and CSS) code
- Generate Apex unit tests for your code to help improve your code coverage
- Quickly generate code suggestions for Apex using natural language instructions
Additional Terms of Use for the Einstein for Developers (Beta)
Einstein for Developers is a beta extension that provides generative AI capabilities directly within standard Salesforce IDE tooling and includes, but is not limited to, the following use cases:
- Code Generation from Natural Language - Ability to describe code logic or objectives in plain English and generate a piece of code using AI; and
- Code Auto-Completion - Intelligent inline code suggestions.
Different additional terms apply depending on the IDE in which Einstein for Developers is installed.
Terms Applicable to Use within Code Builder
Use of Einstein for Developers within Code Builder (the Salesforce web-based IDE) is subject to the following terms:
- Einstein for Developers is a Beta Service that a Customer may opt to try in its sole discretion.
- Use of the Beta Service is subject to the applicable Beta Services Terms provided at https://www.salesforce.com/company/legal/agreements/.
- The Beta Service is not part of Salesforce’s Data Science Program, and Customer Data submitted to the Beta Service is not used to improve the Beta Service or train a global model.
Terms Applicable to Use in Any Other IDE
Use of Einstein for Developers in any other IDE is subject to the following terms:
- “Submitted Code” is defined as (a) prompts submitted to Einstein for Developers, and (b) associated code within your project that is used to provide additional context to the model.
- Submitted Code and any feedback provided to Salesforce should not contain “Personal Data”, defined as any information relating to an identified or identifiable natural person.
- You agree to provide feedback to Salesforce regarding Einstein for Developers, and Salesforce shall have a royalty-free, worldwide, irrevocable, perpetual license to use and store such feedback, and to incorporate it into its services.
- The infrastructure used to process and store Submitted Code and feedback will be provided in part by Amazon Web Services, Inc. in the United States.
- You will retain ownership of your code, and Salesforce will retain sole ownership of Einstein for Developers and its generative AI model.
- Einstein for Developers may generate output that resembles code used to train the model. For the avoidance of doubt, neither you nor Salesforce will own output generated for parties other than themselves.
- Submitted Code will not be shared with any parties other than Salesforce or used to improve Einstein for Developers or train a global model.
- No Warranty. EINSTEIN FOR DEVELOPERS IS PROVIDED “AS-IS,” EXCLUSIVE OF ANY WARRANTY WHATSOEVER, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE. SALESFORCE DISCLAIMS ALL IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW. Einstein for Developers and/or generated code may contain bugs or errors, and their use is at your sole risk. You acknowledge that Salesforce may discontinue Einstein for Developers at any time in its sole discretion, and may never make it generally available.
- No Damages. IN NO EVENT SHALL SALESFORCE HAVE ANY LIABILITY FOR ANY DAMAGES WHATSOEVER, INCLUDING BUT NOT LIMITED TO DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES, OR DAMAGES BASED ON LOST PROFITS, DATA, OR USE, HOWEVER CAUSED AND, WHETHER IN CONTRACT, TORT, OR UNDER ANY OTHER THEORY OF LIABILITY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Last Updated: February 2024
| |