> For the complete documentation index, see [llms.txt](https://academy.dnanexus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.dnanexus.com/interactivecloudcomputing/ttyd.md). Agents can also search and read this documentation through its [MCP server](https://academy.dnanexus.com/~gitbook/mcp).

# TTYD

## Starting a TTYD Instance

You can start a TTYD job the same way as you would any other job in the UI.

1. Select Start Analysis in the top right corner in the project space.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdz0k9yCdkLOk1yziUEIHHU6P21prS3q5o0IFnrXp6RJSETaPUd4YEyQUB16yCO_nMIjjbjziQOp83SWLP7u_lKuqTokenJ3Ac7VVIl1tqyfX0a6U3WaIvG3His_IEmgXZ2g8BJL9XizMMLa3vNX_e_xUmgElictbzb5q4Fxg?key=87VlzzU1I_GithOtDP3HgQ" alt=""><figcaption></figcaption></figure>

2. Select the app called “ttyd”.

<figure><img src="https://1979569080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPtCOm9rXoRi4P9rh1ET8%2Fuploads%2Fgit-blob-35b17f1be4d72d98f8c9402df7fd397f3d168ebc%2Facademy-external-04.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Select Next and then Start Analysis.

<figure><img src="https://1979569080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPtCOm9rXoRi4P9rh1ET8%2Fuploads%2Fgit-blob-b46c173d5314fc497f97e4a00d0527ebd1084b93%2Facademy-external-03.png?alt=media" alt=""><figcaption></figcaption></figure>

4. As the last step before launching the tool, you can review and confirm various runtime settings. Click on Launch Analysis. The job will be launched and you will be redirected to the Monitor tab in a few seconds.<br>
5. In the Monitor tab, select the name of the ttyd job to view more details.

<figure><img src="https://1979569080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPtCOm9rXoRi4P9rh1ET8%2Fuploads%2Fgit-blob-10632b5a679554bebf5835b1f29bada56302feaf%2Facademy-external-05.png?alt=media" alt=""><figcaption></figcaption></figure>

6. Once the state of the job switches to “Running”, you will be able to enter the ttyd with the “Open Worker URL” link in the top heading of the details page. If the page to which you get redirected says “502 Bad Gateway”, the worker is not yet fully initialized. Close the page, give it a few more minutes and try to open the worker URL again.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcGNr-yFhE-gmkajpGDLB4mDmKYYQo161vsKJD249iv7_FULUbGFHT45w0IbN-rQrMm6hPNQVimt9Uf-deSSxQrf9-Q7TYskzd48T2_nm4pVSHij7Kqphfc7_AHW-qxf69PcWmlkQtZr2kEaJ7KKQoLYhk3hDMP7u1oCVA4GQ?key=87VlzzU1I_GithOtDP3HgQ" alt=""><figcaption></figcaption></figure>

7. This will open a terminal in your browser that will give you access to the files in the DNAnexus project in which the app is running by mounting it in a read-only mode in the /mnt/project directory of the worker execution environment.
8. Once you are done with your work in ttyd, don’t forget to terminate the job by clicking the red button Terminate in the job’s details page.

### Resources

[Full Documentation](https://documentation.dnanexus.com/)

To create a support ticket if there are technical issues:

1. Go to the Help header (same section where Projects and Tools are) inside the platform
2. Select “Contact Support”
3. Fill in the Subject and Message to submit a support ticket.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.dnanexus.com/interactivecloudcomputing/ttyd.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
