[Marketplace] Add Segment plugin
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
- Install the ToolJet CLI:
npm i -g @tooljet/cli - Scaffold the plugin:
tooljet plugin create segment(choose to add it to the marketplace when prompted) - Implement the plugin in
marketplace/plugins/segment/:lib/manifest.json– connection/auth fieldslib/operations.json– operations and their input fieldslib/index.ts–run()andtestConnection()logiclib/icon.svg– Segment logo
- 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
mainbranch
Resources
- Segment Public API docs: https://docs.segmentapis.com/
- Segment OpenAPI spec: use the "Download OpenAPI specification" link on the docs page
- ToolJet plugin guide: https://docs.tooljet.com/docs/contributing-guide/marketplace/creating-a-plugin
- Existing marketplace plugins for reference:
marketplace/plugins/
️ 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
mainbranch. - Keep PRs focused on this issue only, and reference it using
Closes #<issue-number>. - Low-effort or spammy PRs will be marked
invalid/spamper Hacktoberfest rules.
Code of Conduct
By contributing, you agree to follow our Code of Conduct. Please be respectful and inclusive in all interactions.
Source: ToolJet/ToolJet