Learn how to export and integrate CrewAI Enterprise React components into your applications
Export the Component
CrewLead.jsx
for our example.Install Node.js
Create a new React project
Install necessary dependencies
Create the CrewLead component
CrewLead.jsx
into the src
folder of your project,Modify your App.js to use the CrewLead component
src/App.js
YOUR_API_BASE_URL
and YOUR_BEARER_TOKEN
with the actual values for your API.Start the development server
CrewLead.jsx
to add color, title etc