https://github.com/copilotkit/demo-crm
https://github.com/copilotkit/demo-crm
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/copilotkit/demo-crm
- Owner: CopilotKit
- Created: 2024-05-10T16:52:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T09:13:17.000Z (over 1 year ago)
- Last Synced: 2024-10-05T22:41:44.285Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://crm-demo-delta.vercel.app
- Size: 333 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a demo that showcases using CopilotKit to build an autocompleting email composer in a CRM
app.
## Deploy with Vercel
To deploy with Vercel, click the button below:
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FCopilotKit%2Fdemo-crm&env=NEXT_PUBLIC_COPILOT_CLOUD_API_KEY&project-name=copilotkit-demo-crm&repository-name=copilotkit-demo-crm)
## Getting Started
### 1. install the needed package:
```bash
npm i
```
### 2. Set the required environment variables:
copy `.env.local.example` to `.env.local` and populate the required environment variables.
### 3. Run the app
```bash
npm run dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
## Zoom in on the CopilotKit code
1. Search for `useMakeCopilotReadable` to see where frontend application information is being made accessible to the Copilot engine
2. Search for `CopilotTextarea` to see how the email composer is built using CopilotKit's UI components.
```
## Learn More
To learn more about CopilotKit, take a look at the following resources:
- [CopilotKit Documentation](https://docs.copilotkit.ai/getting-started/quickstart-chatbot) - learn about CopilotKit features and API.
- [GitHub](https://github.com/CopilotKit/CopilotKit) - Check out the CopilotKit GitHub repository.
- [Discord](https://discord.gg/6dffbvGU3D) - Join the CopilotKit Discord community.
```