# API Key Access Guide

To use the **Darkswap Desktop App**, you must authenticate with an API Key that is tied to your wallet.\
Follow the steps below to obtain your key and activate the Desktop App.

### **1. Log in With Wallet → Obtain Your API Key**

Your API Key is always visible inside the Darkswap Portal after you log in with your wallet.

#### **Step 1 — Visit** [**Darkswap Desktop App Homepage**](https://app.darkswap.me/register/?utm_source=Gitbook\&utm_medium=link\&utm_campaign=Gitbook)

#### **Step 2 — Connect Your Wallet**

Connect your wallet using **WalletConnect**, **MetaMask**, or any other supported wallet provider.

#### **Step 3 — Sign the Authentication Message**

A gas-free signature is required to verify wallet ownership.

#### **Step 4 — View Your API Key**

After signing, your **API Key** is displayed on the portal every time you return.

> Your API Key is always accessible as long as you are logged in with the same wallet.

### **2. Configure the API Key in the Desktop App**

When you launch the Desktop App for the first time, it will automatically show a popup requesting your API Key.

#### **Step 1 — Download the Desktop App**

Install the Desktop App for your device.

#### **Step 2 — Launch the Desktop App**

On first launch, a setup popup appears.

#### **Step 3 — Enter Your API Key**

Copy your **API Key** from the portal and paste it into the popup.\
The app will validate the key automatically.

#### **Step 4 — Start Using the Desktop App**


---

# 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://singularityzk.gitbook.io/singularity/darkswap-onchain-darkpool/darkswap-overview-mainnet/api-key-access-guide.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.
