#18172·ToolJet

[Marketplace] Add Segment plugin

Author: RudraPratik30Created Sep 30, 2026Updated Sep 30, 2026
Labelsfeature requesthacktoberfestup-for-grabsmarketplacecommunity contribution

Description

Add a new Segment plugin to the ToolJet Marketplace so users can connect to Segment and use it as a data source in their apps.

Segment is a customer data platform for collecting, managing, and routing customer event data to other tools.

Scope

Authentication

  • API token only (pasted by the user, sent as a Bearer token). No OAuth support is needed.

Operations to support

Minimum:

  • Get workspace
  • List sources
  • Get source
  • Create source
  • Update source
  • Delete source
  • List destinations
  • Get destination
  • Create destination
  • Update destination
  • Delete destination
  • List warehouses
  • List tracking plans
  • Get tracking plan

Recommended: cover all operations available in the Segment Public API, using the OpenAPI spec to build the integration.

Contributors are welcome to propose additional operations in the PR, but the ones listed under Minimum are required for this issue to be considered complete.

️ Implementation Guide

  1. Install the ToolJet CLI: npm i -g @tooljet/cli
  2. Scaffold the plugin: tooljet plugin create segment (choose to add it to the marketplace when prompted)
  3. Implement the plugin in marketplace/plugins/segment/:
    • lib/manifest.json – connection/auth fields
    • lib/operations.json – operations and their input fields
    • lib/index.ts – run() and testConnection() logic
    • lib/icon.svg – Segment logo
  4. Follow the official guide: https://docs.tooljet.com/docs/contributing-guide/marketplace/creating-a-plugin

✅ Acceptance Criteria

  • Plugin appears in the Marketplace and can be installed
  • Connection can be configured and Test Connection works
  • API token authentication works
  • All minimum operations work and return data in a usable format
  • Paginated endpoints are handled correctly
  • Errors from the Segment API are handled and shown clearly to the user
  • Sensitive fields (tokens) are marked as encrypted in manifest.json
  • Documentation page added under docs/docs/marketplace/plugins/
  • PR includes a short demo video or screenshots of the plugin in action
  • PR is raised against the main branch

Resources

️ Difficulty

Intermediate


Hacktoberfest

This issue is part of Hacktoberfest 2026. Please comment below to get assigned before starting work, and link this issue in your PR.

Contribution Guidelines

  • Wait to be assigned before opening a PR. Unassigned PRs may be closed.
  • If you're assigned but can't continue, please comment so the issue can be reassigned.
  • Raise your PR against the main branch.
  • Keep PRs focused on this issue only, and reference it using Closes #<issue-number>.
  • Low-effort or spammy PRs will be marked invalid / spam per Hacktoberfest rules.

Code of Conduct

By contributing, you agree to follow our Code of Conduct. Please be respectful and inclusive in all interactions.