# Tailscale

## Connection Requirements

{% stepper %}
{% step %}

### Domain

The URL of Tailscale.

{% hint style="info" %}
Default: `api.tailscale.com`
{% endhint %}
{% endstep %}

{% step %}

### API Token

Access tokens for individual users can be created and managed from the **Keys** page of the admin console:\
<https://login.tailscale.com/login?next\\_url=%2Fadmin%2Fsettings%2Fkeys>

These tokens have the same permissions as the owning user and can be set to expire in 1 to 90 days.\
Access tokens are identifiable by the prefix `tskey-api-`.
{% endstep %}

{% step %}

### Tailnet ID

The Tailnet ID is a string assigned to a tailnet and used by the Tailscale API.\
It can be found on the **General** page of the admin console:\
<https://login.tailscale.com/login?next\\_url=%2Fadmin%2Fsettings%2Fgeneral>
{% endstep %}

{% step %}

### HTTPS Proxy

HTTPS proxy URL. *(optional)*
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
Please perform a **connection test** to ensure there is a valid connection to the Tailscale host.\
When the discovery operation is finalized, you will be able to see the details on the **Assets** page.
{% endhint %}


---

# 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.octoxlabs.com/adapters/adapters/tailscale.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.
