> For the complete documentation index, see [llms.txt](https://integrations.drivetrain.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://integrations.drivetrain.ai/integration-guide/integrate-with-drivetrain/accounting-and-erp/integrating-with-tally.md).

# Integrating with Tally

[Connect your virtual machine to Drivetrain](#connect-your-virtual-machine-to-drivetrain)\
&#x20;  [Step 1: Enable NodeJS](#step-1-enable-nodejs)\
&#x20;  [Step 2: Enable Tally as Server](#step-2-enable-tally-as-server)

[Configure NodeJS script](#configuring-nodejs-script)

### Connect your virtual machine to Drivetrain <a href="#connect-your-virtual-machine-to-drivetrain" id="connect-your-virtual-machine-to-drivetrain"></a>

#### Step 1: Enable NodeJS <a href="#step-1-enable-nodejs" id="step-1-enable-nodejs"></a>

1. Install NodeJs using [this](https://nodejs.org/dist/v20.10.0/node-v20.10.0-x64.msi) link.
2. Open **command prompt** in your virtual machine.
3. Download the Tally script provided to you by your Drivetrain customer success manager.

#### Step 2: Enable Tally as Server <a href="#step-2-enable-tally-as-server" id="step-2-enable-tally-as-server"></a>

1. Open Tally and press **F1 → Settings → Connectivity**.

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

2. Select **Client/Server configuration**.

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

3. Choose the configuration as **Both**.

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

4. **Restart** Tally to apply the changes.

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

5. Now open your browser and go to **localhost:9000**. The below screen should appear.

<figure><img src="/files/48C6K1ZSzENdQnAkP5kf" alt=""><figcaption></figcaption></figure>

### Configuring NodeJs Script <a href="#configuring-nodejs-script" id="configuring-nodejs-script"></a>

1. Open the config.json file and change the following fields:
   1. schema
   2. fromdate
   3. todate

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

2. Add the Bigquery credentials to the json file as provided by your Drivetrain customer success manager.
3. **Execute** run.bat file.

{% hint style="info" %}
That’s it! Let your customer success manager know so they can get started!
{% endhint %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://integrations.drivetrain.ai/integration-guide/integrate-with-drivetrain/accounting-and-erp/integrating-with-tally.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
