Skip to content

Commit 6b9c07d

Browse files
committed
doc: removed scratch org setup
1 parent 0bab3c9 commit 6b9c07d

File tree

1 file changed

+6
-63
lines changed

1 file changed

+6
-63
lines changed

README.md

Lines changed: 6 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@ A collection of easy-to-digest [Agent Script](https://developer.salesforce.com/d
1111

1212
- [Prerequisites](#prerequisites)
1313

14-
- Install the app with either one of these options:
15-
- **Option 1:** [Developer Edition Org installation](#installing-the-app-using-a-developer-edition-org) - Use this option if you want the app deployed to a more permanent environment than a Scratch org.
16-
- **Option 2:** [Scratch Org installation](#installing-the-app-using-a-scratch-org) - Use this option if you are a developer who wants to experience the app and the code in a temporary environment.
14+
- [Installing the app using a Developer Edition Org](#installing-the-app-using-a-developer-edition-org)
1715

1816
- [Optional installation instructions](#optional-installation-instructions)
1917

2018
## Prerequisites
2119

22-
Regardless of the installation type you chose, make sure to review the following prerequisites.
20+
Make sure to review the following prerequisites before installing the app.
2321

2422
### Salesforce CLI Version
2523

@@ -46,83 +44,28 @@ sf org assign permset -n EinsteinGPTPromptTemplateManager
4644

4745
## Installing the app using a Developer Edition Org
4846

49-
Follow this set of instructions if you want to deploy the app to a more permanent environment than a Scratch org.
50-
This includes non source-tracked orgs such as a free [Developer Edition Org](https://developer.salesforce.com/signup).
47+
If you don't have an org yet, you can sign up for a free [Developer Edition Org](https://developer.salesforce.com/signup).
5148

5249
> [!IMPORTANT]
5350
> Make sure to start from a brand-new environment to avoid conflicts with previous work you may have done.
5451
55-
3. Clone this repository:
56-
57-
```bash
58-
git clone https://github.com/trailheadapps/agent-script-recipes
59-
cd agent-script-recipes
60-
```
61-
62-
4. Authorize your Developer Edition org and provide it with an alias (**agent-script-recipes** in the command below):
63-
64-
```bash
65-
sf org login web -s -a agent-script-recipes
66-
```
67-
68-
5. Deploy the app to your org:
69-
70-
```bash
71-
sf project deploy start -d force-app
72-
```
73-
74-
6. Assign the `Agent_Script_Recipes_Data` and `Agent_Script_Recipes_App` permission sets to the default user:
75-
76-
```bash
77-
sf org assign permset -n Agent_Script_Recipes_Data
78-
sf org assign permset -n Agent_Script_Recipes_App
79-
```
80-
81-
7. Import some sample data:
82-
83-
```bash
84-
sf data import tree --plan data/data-plan.json
85-
```
86-
87-
8. Open your org with the **Agentforce Studio** app displayed:
88-
89-
```bash
90-
sf org open -p "/lightning/n/standard-AgentforceStudio?c__nav=agents"
91-
```
92-
93-
> [!TIP]
94-
> **Agentforce Studio** can be reached from the App Launcher. From there, click **View All** then select the **Agentforce Studio** app.
95-
96-
**Post installation:** when working with the recipes, assign the **Agent Script Recipes Data** permission set to your agent user to avoid access issues.
97-
98-
## Installing the app using a Scratch Org
99-
100-
1. Follow these steps if you haven't configured a Dev Hub org:
101-
1. [Select and enable a Dev Hub org](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_setup_enable_devhub.htm). You can use a free [Developer Edition Org](https://developer.salesforce.com/signup).
102-
103-
1. Authorize your Dev Hub org and provide it with an alias (**myhuborg** in the command below):
104-
105-
```bash
106-
sf org login web -d -a myhuborg
107-
```
108-
10952
1. Clone this repository:
11053

11154
```bash
11255
git clone https://github.com/trailheadapps/agent-script-recipes
11356
cd agent-script-recipes
11457
```
11558

116-
1. Create a scratch org and provide it with an alias (**agent-script-recipes** in the command below):
59+
1. Authorize your Developer Edition org and provide it with an alias (**agent-script-recipes** in the command below):
11760

11861
```bash
119-
sf org create scratch -d -f config/project-scratch-def.json -a agent-script-recipes
62+
sf org login web -s -a agent-script-recipes
12063
```
12164

12265
1. Deploy the app to your org:
12366

12467
```bash
125-
sf project deploy start
68+
sf project deploy start -d force-app
12669
```
12770

12871
1. Assign the `Agent_Script_Recipes_Data` and `Agent_Script_Recipes_App` permission sets to the default user:

0 commit comments

Comments
 (0)