मुख्य सामग्री पर जाएं
Business या Enterprise plan पर Integrators अपने क्लाइंट्स के सोशल अकाउंट्स को sub-profiles के अंतर्गत onboard कर सकते हैं। MCP Server का उपयोग करके, एक agent एक sub-profile बनाता है, उसे target करता है, और एक single sign-on linking URL तैयार करता है जिसे क्लाइंट अपने अकाउंट्स को कनेक्ट करने के लिए खोलता है।

Flow

1

एक sub-profile बनाएँ

create_profile कॉल करें (account-level — कोई profileKey नहीं)। यह नए sub-profile के लिए एक profile key लौटाता है।
2

sub-profile को target करें

लौटाई गई profile key का उपयोग बाद के कॉल पर करें — या तो connection पर Profile-Key header के माध्यम से या प्रति-कॉल profileKey argument के रूप में। पूर्वता के लिए Connect & Setup देखें।
3

एक social-linking URL तैयार करें

single sign-on linking URL तैयार करने के लिए generate_jwt_social_linking_url कॉल करें। JWT signing key और onboarding domain server-side से प्राप्त होते हैं — कॉल करने वाला कोई X-Ayrshare-* headers और कोई private key या domain नहीं देता।
4

क्लाइंट अपने अकाउंट्स लिंक करता है

क्लाइंट URL खोलता है और अपने सोशल अकाउंट्स को अधिकृत (OAuths) करता है। कनेक्ट किए गए अकाउंट्स sub-profile से लिंक हो जाते हैं।

आवश्यकताएँ

generate_jwt_social_linking_url को एक profileKey आवश्यक है। यदि कोई resolve नहीं होता, तो कॉल “Profile Key is required…” संदेश के साथ 400 लौटाता है।आपके अकाउंट के लिए एक social-linking domain provision किया जाना चाहिए। यह Business और Enterprise plans पर उपलब्ध है।

Error स्थितियाँ

अगले कदम

Connect & Setup

प्रमाणीकरण और profile targeting।

Tool Catalog

domain द्वारा समूहीकृत 27 tools, scope और उद्देश्य के साथ।