> ## Documentation Index
> Fetch the complete documentation index at: https://www.ayrshare.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Link Users' Social Media Accounts from Backend Code

The social networks do not allow authentication (linking) of social media accounts via backend code.
This is to ensure your users can securely connect their social media accounts by logging in directly with each platform's official login page.

For security reasons, social networks prevent their login pages from being embedded in iFrames. This means you cannot display the Ayrshare social linking page within an iFrame on your website - it must be opened in a new tab or window.

Please see here on the workflow for linking social media accounts: [API Integration for Business](/multiple-users/api-integration-business).
