This is a base Copilot Custom app built using Next.js and project bootstrapped with create-next-app
.
The easiest way to get started is to fork this repo. Once forked, you will need to deploy the app and add it to Copilot.
The easiest way to deploy this custom app is to use the Vercel Platform.
- Create a new project in your Vercel account. Note: create an account if you don't have one using github to automatically import repos.
- Select the forked repo in Import Git Repository
- In environment variables add COPILOT_API_KEY. You can find your API key in Copilot under Settings > API. Note: You will need to be an admin to create an API Key.
Once your app is deployed you will get a url. E.g. custom-app-fork-neil.vercel.app. Using this url you can add a custom app in Copilot.
You will now be able to use the app in Copilot.
Clone your forked app locally and run the development server.
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open 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.