> For the complete documentation index, see [llms.txt](https://docs.spice.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spice.ai/docs/portal/apps/publish.md).

# Publish

Publishing a project controls its visibility to other users on the Spice.ai platform.

## Project visibility

Projects can be set to one of two visibility levels:

* **Private** (default): Only organization members can view and access the project.
* **Public**: The project is visible to all Spice.ai users. Public projects can be discovered, queried, and used as data sources by others via the `spice connect` or `spice add` commands.

## Before publishing

A project must be connected to a **public** GitHub repository before it can be published. SpiceRack uses the repository to show the Spicepod configuration behind the public listing. See [Connect GitHub](/docs/portal/apps/connect-github.md).

Viewers cannot change project visibility.

## Changing visibility

1. Select your project.
2. Navigate to **Settings** and scroll to the **Project visibility** section.
3. Click **Publish project** to make it public, or **Make private** to unpublish it.
4. Confirm in the dialog.

{% hint style="warning" %}
Making a project public exposes its datasets and models to all Spice.ai users. Ensure no sensitive data is accessible before publishing.
{% endhint %}

Learn more about [public projects](/docs/portal/public-apps.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.spice.ai/docs/portal/apps/publish.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
