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 DemoFeatures
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.
Display your branding throughout the entire connection process and provide specific instructions for each provider connector to ensure a smooth and consistent user experience.
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.
Give your users a sleek and modern-looking interface that matches your branding and enhances their overall experience.
The Vezgo SDK provides convenient access to the Vezgo API from applications written in browser and server-side JavaScript.
# Client Example
import Vezgo from 'vezgo-sdk-js';
(async () => {
// Create a Vezgo SDK instance
const vezgo = Vezgo.init({
clientId: 'YOUR_CLIENT_ID',
secret: 'YOUR_CLIENT_SECRET',
});
// Call the API helper methods
const providers = await vezgo.providers.getList();
const team = await vezgo.getTeam();
// Alternately, pass a loginName to return a Vezgo SDK User instance in order to call
// user-specific endpoints
const user = Vezgo.init({
clientId: 'YOUR_CLIENT_ID',
secret: 'YOUR_CLIENT_SECRET',
// Optional, only if you need to work with user data API, such as `vezgo.accounts.getOne(id)`,
// or `vezgo.transactions.getList()` etc.
loginName: 'YOUR_USERNAME_OR_ID',
});
// Call the user-specific API methods
const account = await user.accounts.getOne('ACCOUNT_ID');
})();
# API Example
// Create a Vezgo SDK instance
const vezgo = Vezgo.init({
clientId: 'YOUR_CLIENT_ID',
secret: 'YOUR_CLIENT_SECRET',
});
// Log user(s) in
const user1 = vezgo.login('USER_ID_1');
const user2 = vezgo.login('USER_ID_2');
// Call user APIs
const user1Account = await user1.accounts.getOne('ACCOUNT_ID_1');
const user2Account = await user2.accounts.getOne('ACCOUNT_ID_2');
# ReactNative Example
import { authorize } from 'react-native-app-auth';
import Vezgo from 'vezgo-sdk-js';
import {URL} from 'react-native-url-polyfill';
const clientId = 'YOUR_CLIENT_ID';
const redirectUrl = 'com.yourapp://vezgo'; // need to be registered
const vezgo = Vezgo.init({
clientId,
// Set authEndpoint or authorizer function similar to web app
authEndpoint: '/vezgo/auth',
});
// On button click
const user = vezgo.login();
const token = await user.fetchToken();
// Or build connect URL via user.getConnectUrl()
const authorizeUrl = 'https://connect.vezgo.com/connect/coinbase';
// Now start the Vezgo Connect process
try {
const result = await authorize({
serviceConfiguration: {
authorizationEndpoint: authorizeUrl,
tokenEndpoint: authorizeUrl, // required by AppAuth
},
clientId,
redirectUrl,
additionalParameters: { token, lang: 'es' },
skipCodeExchange: true,
});
const accountId = result.authorizationCode;
sendToServer(accountId);
const account = await user.accounts.getOne(accountId);
displayAccount(account);
} catch (err) {
if (err.message !== 'Connection closed by the user') showError(err);
}
Sign up and get your
FREE API Keys
Drop the widget into your
App & Play with the API
Unlock full access, private Slack
channel & dedicated advice
You have questions? Let’s talk, email us at hello@vezgo.com