> For the complete documentation index, see [llms.txt](https://floogen.gitbook.io/stardrop/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://floogen.gitbook.io/stardrop/guides/nexus-mods-integration/connecting-to-nexus-mods-api.md).

# Connecting to Nexus Mods API

## Instructions

1. Ensure you are using Stardrop v1.0.0-beta.29 or higher.
2. Run **Stardrop** to start the application.
3. In the top left menu, go to `Nexus Mods` > `API Connection`.
4. Click the `Go to Nexus Mods` in the popup that appears. If you are not already logged into Nexus Mods, you will be asked to sign-in.
5. You will be presented with Nexus Mods "API Access" page. Scroll down until you see Stardrop's name and logo.
6. Click on the `Request an API Key` button and wait for Nexus Mods to generate your key.
7. Copy and paste the generated key back into the textbox found in Stardrop's popup.
8. Click the confirmation button and Stardrop will validate your key. If it validates, you'll have access to all relevant Nexus Mods features.

{% embed url="<https://imgur.com/CMUkgQI.png>" %}


---

# 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://floogen.gitbook.io/stardrop/guides/nexus-mods-integration/connecting-to-nexus-mods-api.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.
