Install & Initialize SDK on the Server Side
The next step of enabling encrypted communications is to install the Virgil SDKThe SDK helps take tedious complexity out of coding by providing APIs for all of Virgil Services., in your chosen language, on your server side.
Developers must install and initialize the Virgil SDK on the server side to sign a user's Virgil Cards. Thus creating a trusted relationship between the developer's Application and each user.
Install the Virgil SDK with the getting started guide.
Don't see your language? Virgil is also available as a REST API.
The SDK is initialized with your application's credentials. If you did not create a Developer accountDevelopers will need to register their application at Virgil Services to use Virgil Security infrastructure create account yet, you can do so now.
Next, we need to initialize the server side SDK. To do so, we need to pass in a few more details than on the client side, including the App IDThis is an identifier, which uniquely identifies an Application at Virgil Services more ..., App KeyThis is a secure Private Key for your application that you receive during registration at Virgil Services more ..., and App Key passwordA password set for an App Key that you receive during application registration at Virgil Services you created on sign up.
virgil = VirgilApi.new(context: VirgilContext.new(
When we have already set up the Virgil SDK on the server side, we can publish user's Virgil Card.