> For the complete documentation index, see [llms.txt](https://docs.xygeni.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xygeni.io/introduction-to-xygeni/generate-a-sbom.md).

# Generate a SBOM

Xygeni allows to generate a SBOM for a certain project.

Two SBOM formats are currently supported:

* **CycloneDX** (JSON schema) .See <https://cyclonedx.org/> for full details.
* SPDX, in JSON serialization format, standard ISO/IEC 5962:2021. See <https://spdx.dev/> for full details.

You have two options to generate an SBOM:

1. [From the Web User Interface](#sbom_options)
2. [Using the Xygeni CLI](#sbom_options-1)

### Generate a SBOM from the Web User Interface <a href="#sbom_options" id="sbom_options"></a>

Once you have selected a project, the **Inventory** >> **Repositories** will present you the **Download SBOM** option.

<figure><img src="/files/At9Gv5VeRI3a6blVlxzu" alt=""><figcaption></figcaption></figure>

You can also open a project's detail slide to download the SBOM.

<figure><img src="/files/Yf2Z9SkNmQDokKniZZ1f" alt=""><figcaption></figcaption></figure>

### Generate a SBOM with the Xygeni CLI <a href="#sbom_options" id="sbom_options"></a>

You can also generate a SBOM with the xygeni CLI. This is useful if you need the SBOM during a build/deploy CI/CD process.

{% hint style="info" %}
Please visit [Generate SBOM with the Xygeni CLI](/xygeni-scanner-cli/xygeni-cli-overview/generate-sbom-with-the-xygeni-cli.md) for further information.
{% endhint %}


---

# 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:

```
GET https://docs.xygeni.io/introduction-to-xygeni/generate-a-sbom.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
