Safary Documentation
  • For engineers
    • Getting started
      • Create or join a project
      • Add websites
      • Install Safary script (hosted)
      • Install Safary script (self hosted)
      • Install Safary script with Google Tag Manager
      • Setup events
      • Upload wallets
    • Integrations
      • Magic Link
    • Safary API
    • Custom domains
  • For marketers
    • Tutorials for web3 marketers
    • Pricing
      • Safary basic plan
      • Safary pro plan
    • Launch campaigns
      • UTM builder with Safary links
      • UTM builder with custom domains
      • Ad Networks
      • Quests
      • Farcaster Frames
    • Account settings
    • Privacy
      • Privacy policy
      • Disable Location Tracking
Powered by GitBook
On this page
  • How to find the Secret Key
  • How to inform Safary about the Secret Key
  1. For engineers
  2. Integrations

Magic Link

Integrate magic.link's data into Safary

PreviousIntegrationsNextSafary API

Last updated 3 months ago

To get users' data from your magic.link usage, we only need magic.link's Secret Key.

Note that the Secret Key only allows us to retrieve data or logout your users (which obviously we will not do) — have a look at their to see the available methods. Therefore, with only the Secret Key we cannot alter your magic.link data.

How to find the Secret Key

Go to your magic.link dashboard at and enter your desired app's Home page.

At the bottom of the Home page you will find the API Keys section like below:

As informed above, we only need the Secret Key (not the Publishable).

How to inform Safary about the Secret Key

In Safary's dashboard, go to:

  • Settings > Integrations > Magic Link

Then simply paste the Secret Key copied and hit "Sync Magic".

Note that with this key inserted, we will be able to query the wallets that from now on connect through your website using magic.link to obtain the information they provided to magic.link (like socials and email).

docs here
https://dashboard.magic.link/
API Keys section in Magic Link's Dashboard
Input for Magic Link's Secret Key on Safary