---
title: Deploy Wiki.js with AI on Blossom
url: "/deploy/wiki-js/"
canonical_url: https://blossom88.com/deploy/wiki-js/
markdown_url: https://blossom88.com/deploy/wiki-js.md
summary: Deploy Wiki.js with AI on Blossom. Create a private team wiki with searchable
  pages and managed PostgreSQL.
categories:
- deployment
- documentation
stack:
- Node.js
- Vue
- PostgreSQL
---

# Deploy Wiki.js with AI on Blossom

[Wiki.js](https://js.wiki/) is a team wiki for runbooks and internal
documentation. Write a page and use the built-in search to find it
again by its content.

![Wiki.js search returns a private sample runbook.](/deploy/assets/images/wiki-js/search.webp)

## Ask Your Agent

> **Ask your AI agent:** Deploy Wiki.js on Blossom and help me create a private, searchable team wiki.
>
> Follow this guide: https://blossom88.com/deploy/wiki-js/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## Write and Find a Page

Sign in with the administrator created at setup, write a runbook,
and search for a phrase in its body. Review the Guests group's page
rules before adding private documentation.

<details class="optional-reading" markdown="1">
<summary>Deployment setup and commands</summary>

The self-hosted Wiki.js release uses the
[AGPL 3.0 license](https://github.com/requarks/wiki/blob/scarlett/LICENSE).

Use the [official Wiki.js image](https://github.com/requarks/wiki/releases)
on regular App Capacity with a supported managed PostgreSQL version.
Connect the database as `DATABASE_URL` and configure the first-run
administrator through a private runtime secret. Keep the Environment
under Blossom Account access. Database-backed pages can use ephemeral
App storage with Local Disk and Git storage targets disabled.

    blossom profile:show
    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom database_instance:create --data postgres.yml
    blossom environment_link:create --data postgres-link.yml
    blossom service:create --data service.yml
    blossom env_var:push --environment environment-100 --file .env.production
    blossom environment:deploy --id environment-100 --follow

</details>

## What You Get

- A private HTTPS wiki with page permissions
- Full-text search through PostgreSQL
- Wiki pages in managed PostgreSQL across deployments
