# Installing TAP Studio and Assistant

## Installation

To install the custom build, follow these steps:

1. The TAP Bundle installation kit needs to be unzipped in a location where all Windows users that plan to run unattended bots have full read/write privileges (for reference, we'll assume that we'll be installing to &#x43;**:\Tailent\TAP** for this exercise). This can be downloaded here:\
   <https://tailent-share.s3.eu-central-1.amazonaws.com/Orch/TAP_Studio_24.10.1016.zip>\
   \
   **Note: This only needs to be done once for all users.**<br>

2. Orchestration under TGA requires that TAP Assistant be running under each target Windows users' session. This can be achieved by setting up a **Windows Scheduled Task:**<br>

   **a. Start Task Scheduler with Administrative rights**\
   **b. Right click "Task Scheduler (Local)" and select "Create Task..."**\
   **c. Set the name to "TAP Assistant Automated Startup"**\
   **d. Provide a description** (something like **"**&#x53;cheduled task to start TAP Assistant when a user logs on.")\
   **e. Click on Change User or Group -> Type "Users" under "Enter the object name to select" and click Check Names -> Click OK**\ <br>

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

   **f. Confirm the "General" tab looks like this:**<br>

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

   **g. Jump to the "Triggers" tab -> Click "New" -> Select "At log on" under "Begin the task:" and make sure that "Any user" is selected.**<br>

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

   **h. Jump to the "Actions" Tab -> Click "New" -> Select "Start a program" under Action -> Specify the following settings:**<br>

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

   **Note: Make sure that "Start in" is set without quotation marks and without the last backslash, like in the picture above. TAP Assistant will fail to start if the startup folder is not correctly set.**\
   \
   **i. Jump to the "Conditions" tab and replicate these settings:**<br>

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

   \
   **j. Jump to the "Settings" tab and replicate these settings:**\ <br>

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

   **Note: it's important to set the "Run a new instance in parallel" as this will enable TAP Assistant to start individually for each user.**

3. **Log on with each target Windows User to make sure the scheduled task runs correctly and use this to also login into your TAP Account:**\ <br>

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

   **Note: TAP Gateway Agent relies on each users TAP credentials being set on their respective users' account. If a particular TAP credential is not set, the TAP Assistant will not be logged in into the TAP services and even though the Windows session will be started, the target automation will not run.**<br>

4. **Under a user with Administrator rights, start "gpedit.msc" and navigate to Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment -> "Create global objects" -> Click Add User or Group**\
   \
   **You will need to add each of the target Windows users accounts that you plan to use these features on.** This is required so that proper communication between the TAP Gateway Agent and the target TAP Assistant process running on that particular user be able to communicate.\ <br>

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

   In the example above, the user which will be used for this installation scenario is called "**Test**", and can be seen under RPA-PROD-APP01\Test.


---

# 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.tailent.com/getting-started/tailent-gateway-agent/installing-tap-studio-and-assistant.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.
