# Jira Hosts

You can configure any number of Jira hosts to connect to from your site. However, your WordPress site needs to be able to connect to these hosts.

After the Lewe Jira Connector has been installed, there will be a new post type “Jira Hosts” available.

<figure><img src="/files/VHlm7IBQ0Whi2yAw9Mea" alt=""><figcaption></figcaption></figure>

## Adding a Jira Host

Go to the Jira Hosts page and click **Add New** to add a new host.

<figure><img src="/files/ufcER9k2dzcCzmhFQ7Nj" alt=""><figcaption></figcaption></figure>

## Parameters

<table><thead><tr><th>Parameter</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>Description</td><td>Enter a speaking name for this entry to identify it by.</td><td></td></tr><tr><td>URL</td><td>The complete URL for the Jira host, incl. http:// or https:// .</td><td></td></tr><tr><td>Username</td><td>The username that you use to log in to that Jira host. You can leave this empty if the host allows public access and the issues you want to retrieve are publicly available too.</td><td></td></tr><tr><td>Password</td><td>Enter the password (Jira Server, Jira Data Center) or the <a href="https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/">API token</a> (Jira Cloud) for the username you specified.</td><td></td></tr><tr><td>Personal Access Token (PAT)</td><td>If this host requires a personal access token (PAT) instead of basic authentication for API calls, enter yours here. Leave this field empty for basic authentication with your username and password. Read more about <a href="https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html">Personal Access Tokens</a>.</td><td></td></tr></tbody></table>

## Remember the host ID

Each created Jira host will get a unique ID. You can see this ID in the list that the Jira Hosts page shows. Keep that ID in mind because you will need it in the shortcodes that will pull information from there.

<figure><img src="/files/MHY20e5z2vD2kBtMG6Id" alt=""><figcaption></figcaption></figure>


---

# 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://lewe.gitbook.io/lewe-jira-connector-for-wordpress/jira-hosts.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.
