Getting started
A 5 minute intro on how to create an account and start a sample generator.
Sign-up
Sign in with your existing identity provider. In enterprise environments, your administrators may need to approve sharing basic profile information (primarily your email address), which we use as your unique identifier and notification target.
We currently support Microsoft and Google identities. If needed, you can create accounts here:
- Microsoft: https://signup.live.com/
- Google: https://accounts.google.com/signup
Create an account
Chose your account name. It needs to be globally unique.
You will be redirected to the account settings page where you can get:
- The Sixpack API url
- Your certificate
- Your private key
- Your authorisation token
The private key is used for mTLS. The authorisation token is used getting access to your namespace within the Sixpack orchestration platform. Both are to be treated as secrets.
Start a sample generator
All sample repositories are available at https://github.com/orgs/sixpack-dev/repositories.
Sample repositories:
| Java | TypeScript |
|---|---|
| sixpack-sample-java | sixpack-sample-typescript |
| sixpack-sample-java-spring | |
| sixpack-sample-java-dynamic-supplier |
Clone a sample repository:
- Java
- TypeScript
git clone https://github.com/sixpack-dev/sixpack-sample-java.git
git clone https://github.com/sixpack-dev/sixpack-sample-typescript.git
-
Download the Private key and Certificate from account settings and place them into the
config/directory in the cloned repository. -
Copy the authorisation token from the account settings page.
-
Set these environment variables:
SIXPACK_ACCOUNT- your account nameSIXPACK_AUTH_TOKEN- your account tokenSIXPACK_CLIENT_CERT_PATH=config/generator.pem- path to certificateSIXPACK_CLIENT_KEY_PATH=config/generator.key- path to private keySIXPACK_ENVIRONMENT- any environment label (for exampledev)SIXPACK_URL=gen.sixpack.dev:443- Sixpack endpoint
-
Open the repository in an IDE
Run the sample:
- Java
- TypeScript
Configure JDK 17+ in your IDE.
In pom.xml, set sixpack.sdk.version to your published/internal Java SDK version.
Run ExampleSupplier.
npm install
npm run build
npm run start
Your data generator should now be connected to the Sixpack platform and already pre-generating datasets.
Play around
You can play around, try to request some data and see how it works and read further here...