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