#  CODE
Collabora Online Development Edition (CODE) is an open-source, powerful office suite built around the Collabora Office core that provides collaborative text document, spreadsheet, and presentation editing.
When configured as a shared service in Jami, it functions as a collaborative document processing platform.
```{seealso}
```
```{raw} html
```
1. Download the [nextcloud_collabora](../_static/downloads/nextcloud_collabora.zip) ZIP file and unzip it to reveal its contents.
2. Open a terminal in the unzipped folder.
3. Create your local environment file:
```bash
cp .env.example .env
```
4. Edit `.env` and set strong values for at least:
- `MYSQL_ROOT_PASSWORD`
- `MYSQL_PASSWORD`
- `NEXTCLOUD_ADMIN_PASSWORD`
Keep these values unless you have a reason to change them:
- `PUBLIC_HOST=localhost`
- `EXPOSED_PORT=18080`
5. Start the stack:
```bash
docker compose up -d
```
6. Open `http://localhost:18080` in your browser.
7. Sign in to Nextcloud using the admin credentials from `.env`.
8. In Jami, create a custom shared service with:
- **Local host**: `127.0.0.1`
- **Local port**: `18080`
- **URI scheme**: `http`
- **Preferred port on peer**: `18080`
9. Share that service with your contact.
10. Your contact opens your shared service in Jami, then opens `http://localhost:18080` on their machine.
11. Open a document in Nextcloud Files to verify collaborative editing works.
```{tip}
Need to reset everything (accounts, files, DB) and start fresh?
Run the following in the same folder:
```bash
docker compose down -v --remove-orphans
docker compose up -d
```