Getting Started

Welcome to Strongdoc Getting Started guide. Strongdoc is a service that makes data privacy simple to implement in your own services.

Following the instructions in this guide will properly equip you to start using the Strongdoc API.

Prerequisites

There is only one prerequisite, and it is that you have your preferred language installed on your device.

Install Go on your OS: https://golang.org/doc/install
Link to API Github Repository: https://github.com/overnest/strongdoc-go-sdk

Downloading and Setting Up the Strongdoc Go API

The API is available as a Go Module. To use it, run

go get github.com/overnest/strongdoc-go-sdk

Then, import it at the top of your files:

import (
// other imports
sdc "github.com/overnest/strongdoc-go-sdk/client"
"github.com/overnest/strongdoc-go-sdk/api"
// even more imports
)

The user can initialize a singleton StrongDoc client as such:

// client.DEFAULT points to the default production StrongDoc service endpoint
// client.SANDBOX points to a sandbox instance for testing purposes
client, err = sdc.InitStrongDocClient(client.DEFAULT, false)
if err != nil {
log.Printf("failed to initialize StrongDoc client: %s", err)
os.Exit(1)
}

Note that since this is a singleton, and the resulting client can be retrieved as such:

client, err = sdc.GetStrongDocClient()
if err != nil {
log.Printf("Can not obtain singleton StrongDocClient: %s", err)
os.Exit(1)
}

Link to API Github Repository: https://github.com/overnest/strongdoc-go-sdk

Setting up your first account

Before logging in, ensure that you have an account. If you do not have one, what you need to do depends on your role in your organization:

A. Regular Users

If you are a regular user, your organization administrator must help you set up an account. They should give you:

  • A userID
  • A password
  • The orgID belonging to your organization

B. Organization Administrator

For the first administrator of the organization, the administrator account is created with the organization. Subsequent administrator accounts need to be provisioned by existing administrators of the organization.