# Generating an SBOM

Once you have enabled the GitHub Dependency Graph for SBOM Insights you will be ready to generate SBOMs directly in Codefortify. To generate an SBOM:

* Select the [Projects](https://app.codefortify.ai/Project) page
* Select the Project that contains the repo you are generating an SBOM for
* Select the name of the repo
* Select "Download" to generate an SBOM, if you are unsure of the last time that repository was cached, click the "refresh" button prior to downloading
  * Currently all SBOMs are generated in SPDX format with plans to add Syft in a future release


---

# Agent Instructions: 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.codefortify.ai/getting-started/generating-an-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.
