link-implement-backend

Implement Merge Link backend endpoints for token creation, exchange, relinking, and deletion.

Updated May 7, 2026
One-click install
npx skills add https://github.com/merge-api/merge-unified-skills --skill link-implement-backend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: link-implement-backend
Source: https://github.com/merge-api/merge-unified-skills/tree/main/skills/link-implement-backend
Command: npx skills add https://github.com/merge-api/merge-unified-skills --skill link-implement-backend

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires MergePythonClient, and includes scripts (resource) components.

What problem does it solve?

This Skill implements the four critical backend API endpoints required for the Merge Link integration, ensuring seamless user experience and robust data handling.

Core Features & Use Cases

  • Link Token Creation: Generates and exchanges link tokens securely.
  • Token Exchange: Facilitates secure token exchange between frontend and backend.
  • Relinking Integration: Enables reconnection of previously linked integrations.
  • Deletion of Integration: Safely removes linked integrations.
  • Use Case: Suitable for developers implementing a Merge Link feature, ensuring secure and reliable backend operations.

Quick Start

Initialize the backend with required environment variables and dependencies, then implement endpoints as described in the SKILL.md.

Frequently Asked Questions about link-implement-backend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement backend API endpoints for Merge Link integration?

To implement Merge Link integration backend API endpoints, you need to set up endpoints for link token creation, token exchange, relinking, and integration deletion. This requires initializing the MergePythonClient and configuring your database environment.

What is the process for token exchange in a Merge API integration?

Token exchange in a Merge API integration involves securely passing tokens between the frontend and backend. The backend endpoint uses the Merge SDK to facilitate this secure exchange, ensuring robust data handling and reliable user authentication.

Do I need a database to use the Merge SDK for link token creation?

Yes, a database setup is required for proper functioning of the Merge SDK during link token creation. The database stores the necessary integration state to securely generate and exchange tokens, and to manage subsequent relinking and deletion operations.

How do I handle integration deletion and relinking with the Merge API?

Handling integration deletion and relinking with the Merge API involves implementing specific backend endpoints. These endpoints safely remove linked integrations or enable reconnection of previously linked integrations by interacting directly with the MergePythonClient.

Why does my Merge Link token exchange fail during backend setup?

Merge Link token exchange failures during backend setup often stem from missing environment variables or incomplete database configuration. Ensure the MergePythonClient is properly initialized with all required dependencies and environment variables as outlined in the SKILL.md.

Best way to structure backend endpoints for Merge Link?

The best way to structure backend endpoints for Merge Link is to implement four distinct endpoints: token creation, token exchange, relinking, and deletion. This modular approach ensures secure and reliable integration with the Merge API using the Merge SDK.