You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{/* The initial choice that determines the flow */}
54
47
<TailoredContent
55
48
className="step"
@@ -61,7 +54,7 @@ Before you begin, you'll need the following:
61
54
You will need a CrewAI Crew agent to get started!
62
55
</p>
63
56
<pclassName="text-base">
64
-
Either bring your own or feel free to use our starter repo.
57
+
You can either bring your own from <atarget="_blank"href="https://app.crewai.com/">Crew AI Enterprise</a> or use our starter repo.
65
58
</p>
66
59
</div>
67
60
}
@@ -78,62 +71,104 @@ Before you begin, you'll need the following:
78
71
Login to [CrewAI](https://www.crewai.com/) and grab your Crew's URL and Bearer token.
79
72
80
73
Don't have a deployed Crew? Check out the [templates](https://app.crewai.com/crewai_plus/templates) to get started quickly.
81
-
82
-
Make a note of your Crew API URL and Bearer token, then head over to https://cloud.copilotkit.ai/ to register your crew with Copilot Cloud.
83
74
</Step>
84
75
85
-
<Step>
86
-
### Connect to Copilot Cloud
87
-
1. Go to [Copilot Cloud](https://cloud.copilotkit.ai), sign in and click Get Started
88
-
2. Add your OpenAI API key to the "Provide OpenAI API Key" section
89
-
3. Click "Add Remote Endpoint" and fill in the details of your Crew. Note: If your Agent Name contains multiple words, use underscores (`_`) as separators.
You are almost there! Now it's time to setup your Copilot UI.
105
-
<CopilotUIcomponents={props.components} />
106
-
</Step>
107
-
<Step>
108
-
## Create a Crew-Quickstart component
109
-
Place the following snippet in your **main page** (e.g. `page.tsx` in Next.js) or wherever you want to use CopilotKit. It simply imports the `QuickstartCrew` component from our **crew-quickstart.tsx** file and renders it.
104
+
```bash
105
+
npx copilotkit@latest init
106
+
```
107
+
</Step>
108
+
109
+
</TailoredContentOption>
110
+
<TailoredContentOption
111
+
id="do-it-manually"
112
+
title="Code along"
113
+
description="I want to deeply understand what's happening under the hood or don't have a Next.js application."
114
+
icon={<SquareChartGantt />}
115
+
>
116
+
<Step>
117
+
### Connect to Copilot Cloud
118
+
1. Go to [Copilot Cloud](https://cloud.copilotkit.ai), sign in and click Get Started
119
+
2. Add your OpenAI API key to the "Provide OpenAI API Key" section
120
+
3. Click "Add Remote Endpoint" and fill in the details of your Crew. Note: If your Agent Name contains multiple words, use underscores (`_`) as separators.
You are almost there! Now it's time to setup your Copilot UI.
136
+
<CopilotUIcomponents={props.components} />
137
+
</Step>
138
+
<Step>
139
+
## Create a Crew-Quickstart component
140
+
Place the following snippet in your **main page** (e.g. `page.tsx` in Next.js) or wherever you want to use CopilotKit. It simply imports the `QuickstartCrew` component from our **crew-quickstart.tsx** file and renders it.
* List of input required to start your crew (location e.g)
152
+
*/
153
+
inputs: ["location"]
154
+
})
155
+
return (
156
+
<>
157
+
{/* Existing markup */}
158
+
</>
159
+
);
160
+
}
161
+
```
162
+
<CrewQuickStartcomponents={props.components} />
163
+
</Step>
164
+
</TailoredContentOption>
165
+
</TailoredContent>
133
166
<Step>
134
167
### 🎉 Talk to your agent!
135
168
Congrats! You've successfully integrated your CrewAI Enterprise agent with CopilotKit.
136
-
Try talking to your Copilot. Chat with it to provide the information needed to run your Crew from your app. You can also check out our [Restaurant Finder Crew demo](https://crew-ai-enterprise-demo.vercel.app) to see implementation in action.
169
+
Try talking to your Copilot. Chat with it to provide the information needed to run your Crew from your app.
170
+
171
+
You can also check out our [Restaurant Finder Crew demo](https://crew-ai-enterprise-demo.vercel.app) to see implementation in action.
0 commit comments