Lightning-Quick Web3 Account Integration

hero-img

Drop-In Widget

Vezgo Connect is a powerful UIthat allows you to seamlessly connect your users’ crypto exchange accounts to Vezgo and to your apps. With the Vezgo Connect SDK, you can establish a secure and reliable connection between your app and your users’ crypto accounts in just a few clicks. No need to build your own custom integrations from scratch.

Ready to watch Vezgo in action?

Book a Demo

Features

  • quick-integration

    Quick and Easy Integration

    Vezgo Connect Flow offers a fast and easy integration process that allows you to get up and running quickly. The SDK provides you with detailed documentation and support to ensure that you can integrate with minimal effort.

  • custom-instructions

    Add Your Logo and Custom Instructions

    Display your branding throughout the entire connection process and provide specific instructions for each provider connector to ensure a smooth and consistent user experience.

  • custom-selection

    Custom Provider Selection Screen

    Vezgo Connect Flow allows you to fully customize the provider selection screen by implementing your own user interface within your app. Create an integrated experience with a combined list of providers that includes connectors you've developed in-house or TradFi providers.

  • options

    Dark & Light Theme Options

    Give your users a sleek and modern-looking interface that matches your branding and enhances their overall experience.

shortcut-to-developers

SDK info

The Vezgo SDK provides convenient access to the Vezgo API from applications written in browser and server-side JavaScript.

  • Client Example

  • API Example

  • React Native

  1.   # Client Example
  2.   import Vezgo from 'vezgo-sdk-js';
  3.   (async () => {
  4.     // Create a Vezgo SDK instance
  5.     const vezgo = Vezgo.init({
  6.       clientId: 'YOUR_CLIENT_ID',
  7.       secret: 'YOUR_CLIENT_SECRET',
  8.     });
  9.   
  10.     // Call the API helper methods
  11.     const providers = await vezgo.providers.getList();
  12.     const team = await vezgo.getTeam();
  13.   
  14.     // Alternately, pass a loginName to return a Vezgo SDK User instance in order to call
  15.     // user-specific endpoints
  16.     const user = Vezgo.init({
  17.       clientId: 'YOUR_CLIENT_ID',
  18.       secret: 'YOUR_CLIENT_SECRET',
  19.       // Optional, only if you need to work with user data API, such as `vezgo.accounts.getOne(id)`,
  20.       // or `vezgo.transactions.getList()` etc.
  21.       loginName: 'YOUR_USERNAME_OR_ID',
  22.     });
  23.   
  24.     // Call the user-specific API methods
  25.     const account = await user.accounts.getOne('ACCOUNT_ID');
  26.   })();
  27.   
  28.   # API Example
  29.   // Create a Vezgo SDK instance
  30.   const vezgo = Vezgo.init({
  31.     clientId: 'YOUR_CLIENT_ID',
  32.     secret: 'YOUR_CLIENT_SECRET',
  33.   });
  34.   
  35.   // Log user(s) in
  36.   const user1 = vezgo.login('USER_ID_1');
  37.   const user2 = vezgo.login('USER_ID_2');
  38.   
  39.   // Call user APIs
  40.   const user1Account = await user1.accounts.getOne('ACCOUNT_ID_1');
  41.   const user2Account = await user2.accounts.getOne('ACCOUNT_ID_2');
  42.   
  43.   # ReactNative Example
  44.   import { authorize } from 'react-native-app-auth';
  45.   import Vezgo from 'vezgo-sdk-js';
  46.   import {URL} from 'react-native-url-polyfill';
  47.   
  48.   const clientId = 'YOUR_CLIENT_ID';
  49.   const redirectUrl = 'com.yourapp://vezgo'; // need to be registered
  50.   
  51.   const vezgo = Vezgo.init({
  52.     clientId,
  53.     // Set authEndpoint or authorizer function similar to web app
  54.     authEndpoint: '/vezgo/auth',
  55.   });
  56.   
  57.   // On button click
  58.   const user = vezgo.login();
  59.   const token = await user.fetchToken();
  60.   // Or build connect URL via user.getConnectUrl()
  61.   const authorizeUrl = 'https://connect.vezgo.com/connect/coinbase';
  62.   
  63.   // Now start the Vezgo Connect process
  64.   try {
  65.     const result = await authorize({
  66.       serviceConfiguration: {
  67.         authorizationEndpoint: authorizeUrl,
  68.         tokenEndpoint: authorizeUrl, // required by AppAuth
  69.       },
  70.       clientId,
  71.       redirectUrl,
  72.       additionalParameters: { token, lang: 'es' },
  73.       skipCodeExchange: true,
  74.     });
  75.   
  76.     const accountId = result.authorizationCode;
  77.     sendToServer(accountId);
  78.     const account = await user.accounts.getOne(accountId);
  79.     displayAccount(account);
  80.   } catch (err) {
  81.     if (err.message !== 'Connection closed by the user') showError(err);
  82.   }
  83.   
  • 1.icon key

    Sign up and get your
    FREE API Keys

  • 2.icon app

    Drop the widget into your
    App & Play with the API

  • 3.icon lock

    Unlock full access, private Slack
    channel & dedicated advice

You have questions? Let’s talk, email us at hello@vezgo.com