Skip to content
Last updated

The Upload Widget lets you upload files to JondaX without writing any code. It supports both the Pathology and Medical Device modules.

What is the Upload Widget?

The Upload Widget is a ready-made upload interface available in your JondaX client portal. You can:

  • Use it directly in the portal to upload files and receive results — ideal for quick testing or occasional uploads
  • Embed it in your own application so your users can upload files without you building a custom upload feature

Who is it for?

  • Clients who want to test JondaX immediately without setting up API calls or using curl
  • Teams that prefer a no-code integration — embed the widget rather than building file upload logic
  • Users who need to upload files occasionally without developer involvement

Using the Widget in the Portal

Where to find it

The Upload Widget is located on the Integration page in your JondaX client portal.

Upload Widget on Integration page

How to upload

  1. Navigate to the Integration page in your portal
  2. Click on Upload File button
  3. Select the module — Pathology or Medical Device
  4. Drag and drop your file onto the widget, or click to browse
  5. The widget uploads the file and shows you the status

Widget upload in progress

What happens after upload

  • Pathology: The file enters the processing pipeline. Results are delivered to your configured callback URL (same as API uploads). You can also download the output from the Transformed Files page in the portal.

Pathology results in widget output

  • Medical Device: Since processing is synchronous, the extracted data (device type, readings with units) appears immediately in the widget output section — no callback or separate download needed.

Medical device results in widget output

Embedding the Widget

You can embed the Upload Widget directly into your own web application. This gives your end-users a JondaX-powered upload experience without any backend integration work on your side.

Getting the embed code

  1. Go to the Integration page in the client portal
  2. Click on Upload File button
  3. Locate the Embed Widget section
  4. Copy the embed snippet

Embed code section

Embed snippet example

<iframe
  src="https://app.jondax.eu/widget/upload?apiKey=YOUR_API_KEY&module=pathology"
  width="100%"
  height="400"
  frameborder="0"
  allow="clipboard-write"
></iframe>

Configuration options

ParameterRequiredDescription
apiKeyYesYour JondaX API key
moduleYespathology or medical

Security considerations

  • The embed uses your API key. Only embed the widget in trusted, authenticated environments.
  • Never expose the widget on a public-facing page without access controls.
  • For production use, ensure your hosting page is served over HTTPS.

Supported file types

The widget accepts the same file types as the API:

  • PDF (.pdf)
  • HL7, XML, JSON, CSV, Parquet
  • Images (.png, .jpg, .jpeg, .heic, .heif, .gif, .avif, .webp, .bmp, .tiff)
  • Max file size: 10 MB
  • Up to 10 files per upload

Widget vs API — when to use which

ScenarioRecommended
Quick test of JondaX without setupWidget
Occasional manual uploads by non-technical staffWidget
Embedding upload in your app without backend workWidget (embed)
High-volume automated processingAPI
Custom upload logic with retries and queuingAPI
Server-to-server integrationAPI

Troubleshooting

IssueSolution
Widget not loadingCheck that your API key is valid and not expired
Upload failsVerify the file meets the file requirements for your module
No callback received (Pathology)Confirm your callback URL is configured on the Integration page
Embed blocked by browserEnsure your page is served over HTTPS and CSP headers allow the JondaX iframe