# PromptRails + DİA Integration

Source: http://localhost:3000/integrations/dia

---

[promptrails](/)

[Website ↗](https://promptrails.ai)[Sign in](https://console.promptrails.ai/?utm_source=website&utm_medium=cta&utm_campaign=signup&utm_content=header_signin)[Get started →](https://promptrails.ai/company/contact)

[All Integrations](/integrations)

![DİA](/images/logos/api.svg)

# DİA

Accounting

Connect DİA Web Service v3 so agents can read stock cards, customer and supplier cards, and invoices without changing ERP data.

## How to Connect

1.  1Request a Web Service API key from DİA.
2.  2Create a dedicated Web Service user with list permissions for stock cards, customer cards, and invoices.
3.  3Find the DİA template and enter the server code, API key, user credentials, company code, and period code.
4.  4Add the template to your agent. DİA charges credits for data calls.

## Read-only, bounded ERP access

-   The connector exposes list operations only and cannot write ERP records.
-   PromptRails validates the DİA server code instead of accepting an arbitrary host.
-   Each list is capped at 100 rows and uses a short-lived Web Service session.

## Available Tools

`dia_list_products`

List stock and service cards

`dia_list_contacts`

List customer and supplier cards

`dia_list_invoices`

List invoices

[Documentation](/mcp-tools)[DİA API Reference](https://doc.dia.com.tr/doku.php?id=gelistirici:wsapi:genel)

[Get Started](https://console.promptrails.ai)
