> 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="https://4096647782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUTz59rJLkJBjiRWAMknU%2Fuploads%2Fgit-blob-a53f38dc86a22e697bb98dca68b5e213b011ab64%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://4096647782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUTz59rJLkJBjiRWAMknU%2Fuploads%2Fgit-blob-7f34b3a1df9697a7be95a23acbb41aa8296ef8a8%2Fimage.png?alt=media" 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 %}

### Other Bills of Materials

Beyond the SBOM, Xygeni can export an **AI-BOM** (CycloneDX 1.6 ML-BOM) listing the AI components — models, agents, frameworks, MCP servers — discovered in a project. See [AI Assets › Download AI-BOM](/xygeni-products/application-security-posture-management-aspm/inventory/ai-assets.md#download-ai-bom).


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
