Documentation Index
Fetch the complete documentation index at: https://developers.chatwoot.com/llms.txt
Use this file to discover all available pages before exploring further.
Project Setup
This guide will help you to setup and run Chatwoot in development mode. Please make sure you have completed the environment setup.Clone the repo
Install Ruby & Javascript dependencies
Use the following command to runbundle && pnpm install to install ruby and Javascript dependencies.
Setup environment variables
Setup rails server
If you have overmind installed, use
make run to run the server.Login with credentials
Testing chat widget in your local environment
When running Chatwoot in development environment, the chat widget can be accessed under the following URL.setUser method by using
Docker for development
Follow this section only if you are trying to setup Chatwoot via docker. Else skip this.
- chatwoot server
- postgres
- redis
- webpacker-dev-server
Testing chat widget in your local environment with Docker
First,compile the assets. Run:Running Cypress Tests
First,compile the assets. Run:Running Cypress Tests
Refer the docs to learn how to write cypress specs:- https://github.com/shakacode/cypress-on-rails
- https://docs.cypress.io/guides/overview/why-cypress.html
Debugging Docker for production
You can use our official Docker image from https://hub.docker.com/r/chatwoot/chatwootNext Steps
After completing this setup:- Verify Installation: Access http://localhost:3000 and log in with the provided credentials
- Explore the Code: Start making changes and see them reflected in your development environment
- Run Tests: Execute the test suite to ensure everything works correctly
- Check Troubleshooting: If you encounter issues, refer to Common Errors
Getting Help
If you encounter issues during setup:- Common Errors: Check Common Errors
- Environment Variables: See Environment Variables
- Discord Community: Join our Discord
- GitHub Issues: Create an issue
Your Chatwoot development environment is now ready for contribution! 🚀

