---
schema_version: "1"
id: a54db80b8d9ae49218ac8173e246c2c8716e1e15568c6a00cb5f2160a034f8ae
title: Agentforce Vibes Quick Start
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforcedx/einsteinfordevs/guides/files/devagent-getstarted.md
canonical_url: https://developer.salesforce.com/docs/platform/einstein-for-devs/guide/devagent-getstarted.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5bc2cdbe772c82fe7e328958a8e84cc54ac6e7cc5d153afc3bedc8329971cb9c
products:
  - Agentforce Vibes Developer Guide (Deprecated)
  - salesforcedx
---
# Agentforce Vibes Quick Start

Agentforce Vibes is your AI-powered development partner for Salesforce development that can execute commands and perform complex workflows automatically. We'll help you start using Agentforce Vibes effectively for your Salesforce development tasks.

**What makes Agentforce Vibes different**

- **Takes Action**: Executes commands and tools, not just provides suggestions.
- **Context Aware**: Understands your Salesforce project structure and org metadata.
- **Workflow Automation**: Handles multi-step development processes automatically.
- **Natural Language**: Responds to conversational requests instead of remembering command syntax.

**What you'll learn**

- How to access and interact with Agentforce Vibes.
- Essential commands and request patterns.
- Real-world development workflow examples.
- Best practices for effective collaboration.

## Prerequisites

Before getting started, ensure you have:

- **Agentforce Vibes** installed and enabled in VS Code or Code Builder.
- **Active Salesforce DX project** open in VS Code.
- **Connected Salesforce org** with appropriate permissions.

> **Need Setup Help?** See [Set Up Agentforce Vibes Extension](https://developer.salesforce.com/docs/platform/einstein-for-devs/guide/einstein-setup.md) for configuration instructions.

## Your First Agentforce Vibes Session

### 1. Access Agentforce Vibes

1. **Open the Chat Interface**:

   - Click the **Agentforce Vibes** icon in the VS Code Activity Bar.
   - The chat interface opens.

2. **Switch to Act Mode**:

   - Look for the **mode selector** in the chat interface.
   - Switch to **"Act mode"** to enable agentic capabilities.
   - Confirm when prompted to enable MCP servers.

3. **Verify Connection**:
   - Look for green status indicators showing MCP servers are connected.
   - You should see "Salesforce DX" MCP server as available.

### 2. Make Your First Request

Start with a simple request to verify everything is working.

**Try this:**

`"Show me my authorized orgs"`

**Expected Response:**
Agentforce Vibes will execute the Salesforce CLI command and display a formatted table of your connected orgs, including aliases, usernames, and connection status.

### 3. Explore Your Project

Get familiar with your current development environment.

**Request:**

`"What Salesforce components are in my project?"`

**What Agentforc Vibes does:**

- Analyze your project structure.
- List Lightning Web Components, Apex classes, and other metadata.
- Provide an overview of your project organization.

## Essential Agentforce Vibes Patterns

### Understand Requests and Responses

Agentforce Vibes follows this interaction pattern:

1. **You make a request** in natural language.
2. **Agentforce Vibes analyzes** and proposes actions.
3. **You review and approve** the proposed actions.
4. **Agentforce Vibes executes** and provides results.
5. **You can ask follow-up questions** or request modifications.

### Basic Request Types

| Category        | Example Request                                   | What Agentforce Vibes Does                      |
| --------------- | ------------------------------------------------- | ----------------------------------------------- |
| **Information** | "What's in my `AccountController` class?"         | Reads and analyzes the file content.            |
| **Execution**   | "Run tests for `OpportunityTrigger"`              | Executes Salesforce CLI test commands.          |
| **Creation**    | "Create a Lightning component for contact search" | Generates code and file structure.              |
| **Deployment**  | "Deploy my changes to the sandbox"                | Executes deployment commands with confirmation. |

### Effective Request Patterns

**✅ Good Requests:**

- "Run all Apex tests and show me the coverage report".
- "Create a Lightning Web Component for displaying product information".
- "Deploy the AccountController class to my dev sandbox".
- "Show me what metadata has changed since my last deployment".

**❌ Less Effective Requests:**

- "Help" (too vague).
- "Fix my code" (no specific context).
- "Do something with accounts" (unclear intent).
- "Test" (needs more specificity).

## Common Development Workflows

Here are some common development workflows that you might use.

### Testing and Quality Assurance

**Run Specific Tests:**

```
"Run all tests in the AccountControllerTest class"
```

**Check Overall Coverage:**

```
"Show me the code coverage for my entire project"
```

**Test and Fix Issues:**

```
"Run my Apex tests and help me fix any failures"
```

### Code Generation and Development

**Create New Components:**

```
"Create a Lightning Web Component for customer contact management with search functionality"
```

**Generate Test Classes:**

```
"Generate comprehensive tests for my ProductService class"
```

**Add Functionality:**

```
"Add error handling and logging to my OpportunityTrigger"
```

### Deployment and Org Management

**Deploy Specific Components:**

```
"Deploy my AccountController and related test class to the dev sandbox"
```

**Check Deployment Status:**

```
"Show me the status of my recent deployments"
```

**Retrieve Metadata:**

```
"Retrieve the latest Account object metadata from my org"
```

## Best Practices for Working with Agentforce Vibes

### Write Effective Requests

**Be Specific About Context:**

- Mention specific files, classes, or components.
- Include the target org when relevant.
- Specify the scope of work (single class vs. entire feature).

**Provide Clear Intent:**

- Explain what you're trying to accomplish.
- Mention any constraints or requirements.
- Include business context when helpful.

**Example:**
Instead of: "Fix my trigger".
Try: "My AccountTrigger is causing governor limit exceptions during bulk inserts. Help me optimize it for handling large data volumes."

### Manage Workflow Complexity

**Start Simple:**

- Begin with smaller, focused requests.
- Build up to more complex workflows.
- Test each step before proceeding.

**Review Before Execution:**

- Always review proposed actions before approving.
- Ask questions if you don't understand something.
- Request modifications if needed.

### Leverage Agentforce Vibes' Strengths

**Project Understanding:**

- Let Agentforce explore your codebase to build context.
- Share relevant documentation or requirements.
- Explain your coding standards and preferences.

**Workflow Automation:**

- Use Agentforce Vibes for repetitive tasks like test generation.
- Automate deployment and validation processes.
- Let Agentforce Vibes handle multi-step workflows.

## Next Steps

### Explore Advanced Features

Once you're comfortable with basic Agentforce usage:

- **Learn about Rules**: Set up [Agentforce Rules](https://developer.salesforce.com/docs/platform/einstein-for-devs/guide/devagent-rules.md) for consistent coding standards.
- **Master Context Management**: Optimize your workflow with [Agentforce Context](https://developer.salesforce.com/docs/platform/einstein-for-devs/guide/devagent-context.md).
- **Explore Complex Workflows**: Try advanced scenarios in [Agentforce Workflows](https://developer.salesforce.com/docs/platform/einstein-for-devs/guide/devagent-workflows.md).
- **Understand MCP**: Deep dive into tool integration with [Understand MCP](https://developer.salesforce.com/docs/platform/einstein-for-devs/guide/devagent-mcp.md).
- **Explore Skills**: Package on-demand instructions with [Agentforce Skills](https://developer.salesforce.com/docs/platform/einstein-for-devs/guide/skills.md).
- **Understand Abilities**: Activate domain-specific tools with [Agentforce Abilities](https://developer.salesforce.com/docs/platform/einstein-for-devs/guide/abilities.md).

### Practice Workflows

- Use Agentforce Vibes for daily development tasks.
- Experiment with different request patterns.
- Build familiarity with common Salesforce scenarios.

### Share and Learn

- Document successful patterns for your team.
- Share effective rules and context files.
- Collaborate on best practices with other developers.
