Skip to content
Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Integrating with Tally

Tally is connected with a script that runs on the Windows machine (or virtual machine) where TallyPrime is installed. The script reads Tally's data through its local server port and loads it into Drivetrain. Your customer success manager (CSM) sends you the script and a credentials file.

Before you start

  • A Windows machine with TallyPrime and the companies you want to load.

  • The Tally script folder and the Drivetrain credentials file from your CSM.

Step 1: Install Node.js and unpack the script

  1. Install Node.js using this link.

  2. Unzip the script folder from your CSM.

  3. Open Command Prompt in that folder and unpack the dependencies: powershell Expand-Archive -LiteralPath "node_modules.zip" -Force

Step 2: Enable Tally as a server

  1. Open TallyPrime and press F1 → Settings → Connectivity.

  1. Select Client/Server configuration.

  1. Set TallyPrime to act as Both, with ODBC enabled on port 9000.

  1. Restart TallyPrime to apply the changes.

  1. Open localhost:9000 in your browser. You should see this screen:

Step 3: Configure and run the script

  1. Open config.json and set:

    • schema: the value your CSM gives you

    • fromdate and todate: the period to load, as YYYYMMDD (for example 20230101)

    • company: the Tally companies to load, if your CSM asks you to

  1. Replace bigquery-credentials.json in the script folder with the credentials file from your CSM.

  2. Run run.bat.

  3. Tell your CSM when it finishes so they can check the data.

The script loads data only when it runs. Run it again whenever you want to refresh Drivetrain with new Tally data.

Troubleshooting

localhost:9000 doesn't respond

Tally's server isn't running or the port is in use. Check the settings in Step 2 and restart TallyPrime. If you change the port, use the same port in config.json.

Last updated

Was this helpful?