In the steel fabrication industry, operational efficiency is defined by how well you manage data. Tekla PowerFab is the undisputed heavy lifter for estimating, production control, and inventory management. It is robust, reliable, and deeply integrated into shop floor workflows.
However, as steel fabricators look to digital transformation—building custom mobile apps for site managers or feeding data into modern analytics platforms—they hit a roadblock. Tekla functions as a data silo that's difficult to access for front end applications and data products.
Extracting data from legacy systems for use in modern frontend applications is notoriously difficult. This post explores the technical challenges of unlocking Tekla PowerFab data and details how DreamFactory solves this by instantly generating a secure, fully documented REST API from Tekla's underlying MySQL database.
Tekla PowerFab typically utilizes a MySQL database to store its vast arrays of project and inventory data. While MySQL is a standard database technology, securely exposing that data to the web is complicated.
Modern web development relies on JSON REST APIs. Most frontend frameworks (like React or Angular) and third-party integration tools expect to communicate via standard HTTP endpoints. Tekla PowerFab does not natively provide a REST API for its database. This forces developers to work with proprietary exchange formats or XML, which creates friction and slows down development cycles.
To bypass API limitations, developers often hard-code database credentials directly into their internal applications or reporting dashboards. This is a massive security risk. It exposes your master database credentials to the frontend, meaning a savvy user (or malicious actor) could potentially access—or worse, delete—critical production data.
The traditional workaround is building "middleware"—custom code written in Python, Node.js, or Java that sits between Tekla and your app. This middleware queries the database and reformats the data. Building this requires weeks of coding, and maintaining it requires permanent developer resources.
DreamFactory is an automated API generation platform. It eliminates the need for custom middleware by sitting between your data source (Tekla's MySQL database) and your applications.
Instead of hand-coding endpoints, DreamFactory introspects the MySQL database and automatically generates a full Swagger (OpenAPI) documented REST API in minutes.
Instant API Generation: It reads the MySQL schema and immediately produces endpoints (GET, POST, PUT, DELETE) for every table in Tekla PowerFab.
Granular Security: DreamFactory handles API Key management and Role-Based Access Control (RBAC). You can ensure shop floor users or mobile app users can only view "Shipping Status" but cannot edit "Inventory."
Data Transformation: You can use DreamFactory's data mesh and scripting capabilities to join tables, sanitize or reformat legacy data fields into clean JSON before they ever reach your application.
Standardization: It turns a legacy SQL database into a standard, modern interface that any web developer can understand immediately.
Frontend Autonomy: Decouples frontend from complex Tekla PowerFab data access. Developers can immediately use auto-generated APIs, eliminating custom middleware, enabling rapid application iteration, and supporting reporting/analysis.
Here is the exact workflow to turn your Tekla PowerFab database into a secure REST API using the DreamFactory Administration Console.
Secure your data by defining exactly what users can see.
Click Save.
You must create an API Key to authorize your external software.
The API Key string will now be visible. Copy this key; you will use it in your application headers (as X-DreamFactory-Api-Key) to authenticate your calls.
DreamFactory will return your Tekla data as standard, clean JSON.
DreamFactory includes server-side caching options. In the Config section of your API settings, you can enable caching (using Redis, Memcached, or local storage). This serves repeated data requests from the cache rather than querying the Tekla database every time, protecting your production server's performance.
Yes. DreamFactory supports SQL-like filters directly in the API call. For example, to get only active jobs, your frontend can request:
GET /api/v2/tekla_db/_table/Jobs?filter=(Status='Active')
Yes, DreamFactory automatically generates POST, PUT, and PATCH endpoints. However, because Tekla PowerFab has complex internal logic, we recommend restricting "Write" access to non-critical tables via the Access settings in your Role, or using DreamFactory's scripting engine to validate data against business rules before allowing the update.
DreamFactory handles joined data gracefully. You can retrieve a parent record and its children in a single API call using the related parameter. Other options include our Data mesh merging tables functionality in the Schema section of the menu. DreamFactory can also read Views or Store Procedures if you decide to leverage some of the MySQL database functionality.
Example:
GET /api/v2/tekla_db/_table/Jobs?related=Drawings
Modernizing your steel fabrication software stack doesn't require ripping and replacing your core systems. By using DreamFactory to read data from the Tekla PowerFab database, you can securely expose your legacy data to the modern world, enabling real-time dashboards and mobile apps without the backend headaches.