Lesson 2 of 8
Tadabase Integration
Learn how to integrate your Excel SpreadsheetWeb applications with Tadabase platform to improve your workflow and boost your business!
2 min readStep 1: Configuring the SpreadsheetWeb API in Tadabase
1.1 Set Up API Authentication
- Go to Settings → Data Sources → External API in Tadabase.
- If OAuth 2.0 is required:
-
Authorization URL:
-
Client ID and Client Secret: Use the credentials provided by SpreadsheetWeb.
-
- Save the configuration.
1.2 Add a New API Call
-
Go to API Calls → Add New API Call.
-
Configure the API call:
-
Method:
POST -
Endpoint:
https://api.spreadsheetweb.com/calculations/calculatesinglesimple
-
-
Headers:
Content-Type: application/json Authorization: Bearer {oauth_token} (if using OAuth)
-
Body:
{ "workspaceId": "your-workspace-id", "applicationId": "your-application-id", "inputs": { "Input1": "{Input1}", "Input2": "{Input2}", "Table1": "{Table1}" }, "outputs": ["Output1", "Output2", "Table2"] }
Replace placeholders (
{Input1},{Input2}) with dynamic form inputs. -
Test the API: Send a sample request and verify the response.
Step 2: Build the Tadabase User Interface
2.1 Create an Input Form
- Go to the Pages section and create a new form.
- Add fields:
- Text Inputs: For
Input1andInput2. - Table Input: For
Table1if required.
- Text Inputs: For
- Bind form fields to the API call placeholders.
2.2 Add a Submit Button
- Create a button to trigger the API call.
- Set the button’s action to execute the API call.
Step 3: Display API Results
3.1 Configure Output Fields
- Go to API Calls → Select the configured call.
- In the Response tab:
-
Define outputs:
response.outputs.Output1 → Output1 response.outputs.Output2 → Output2
- Set the Data Type (e.g.,
Stringfor single values).
- Set the Data Type (e.g.,
-
3.2 Display Results in the UI
- Add text fields or tables to display the output data dynamically.
- Map the output fields to the UI elements.
Step 4: Test the Application
- Submit sample inputs through the form.
- Verify that the results from the SpreadsheetWeb API are displayed correctly.