# Documentation Contributions

We understand that as we move quickly, sometimes our documentation website can be a bit outdated. Therefore, we highly value contributions to our documentation.

## [Prerequisites](https://docs.copilotkit.ai/contributing/docs-contributions\#prerequisites)

- [Node.js](https://nodejs.org/en/) 20.x or later
- [pnpm](https://pnpm.io/) v9.x installed globally ( `npm i -g pnpm@^9`)

## [How To Contribute](https://docs.copilotkit.ai/contributing/docs-contributions\#how-to-contribute)

### [Fork The Repository](https://docs.copilotkit.ai/contributing/docs-contributions\#fork-the-repository)

First, head over to the [CopilotKit GitHub repository](https://github.com/CopilotKit/CopilotKit) and create a fork.

Then, clone the forked repository to your local machine:

```
git clone https://github.com/<your-username>/CopilotKit
cd CopilotKit/docs
```

### [Run the Documentation Site Locally](https://docs.copilotkit.ai/contributing/docs-contributions\#run-the-documentation-site-locally)

To run the documentation site locally, install the dependencies and then start the docs in development mode:

```
pnpm install
pnpm run dev
```

The documentation site should be available at [http://localhost:3000](http://localhost:3000/).

### [Make Your Changes](https://docs.copilotkit.ai/contributing/docs-contributions\#make-your-changes)

Now, you can make your changes to the documentation website.

- All documentation-related files are located in the docs repository
- You may want to familiarize yourself with [Nextra](https://nextra.site/) to understand how the documentation website is structured.

Please ensure you review your changes for grammar, spelling and formatting errors. Also, ensure that links and images are working.

### [Review Changes & Submit Pull Request](https://docs.copilotkit.ai/contributing/docs-contributions\#review-changes--submit-pull-request)

Once you are happy with your changes, you can commit and push them. Then, head over to the [Pull Requests page](https://github.com/CopilotKit/CopilotKit/pulls) and create a pull request. Thank you for your contribution!

## [Need help?](https://docs.copilotkit.ai/contributing/docs-contributions\#need-help)

If you need help with anything, please don't hesitate to reach out to us on [Discord](https://discord.gg/6dffbvGU3D). We have a dedicated [#contributing](https://discord.com/channels/1122926057641742418/1183863183149117561) channel.

[Previous\\
\\
Advanced: Package Linking](https://docs.copilotkit.ai/contributing/code-contributions/package-linking) [Next\\
\\
Anonymous Telemetry](https://docs.copilotkit.ai/telemetry)

### On this page

[Prerequisites](https://docs.copilotkit.ai/contributing/docs-contributions#prerequisites) [How To Contribute](https://docs.copilotkit.ai/contributing/docs-contributions#how-to-contribute) [Fork The Repository](https://docs.copilotkit.ai/contributing/docs-contributions#fork-the-repository) [Run the Documentation Site Locally](https://docs.copilotkit.ai/contributing/docs-contributions#run-the-documentation-site-locally) [Make Your Changes](https://docs.copilotkit.ai/contributing/docs-contributions#make-your-changes) [Review Changes & Submit Pull Request](https://docs.copilotkit.ai/contributing/docs-contributions#review-changes--submit-pull-request) [Need help?](https://docs.copilotkit.ai/contributing/docs-contributions#need-help)

[Edit on GitHub](https://github.com/CopilotKit/CopilotKit/blob/main/docs/content/docs/(root)/(other)/contributing/docs-contributions.mdx)

![](https://static.scarf.sh/a.png?x-pxid=ffc9f65d-0186-4575-b065-61d62ea9d7d3)

## useCopilotChat Hook
CrewAI CrewAI support is here! Checkout the [Crew](https://docs.copilotkit.ai/crewai-crews) and [Flow](https://docs.copilotkit.ai/crewai-flows) documentation.

Search docs

`⌘`  `K`

On this pageUsage