natsConnection *conn = NULL;
natsOptions *opts = NULL;
s = natsOptions_Create(&opts);
// Pass the credential file this way if the file contains both user JWT and seed.
// Otherwise, if the content is split, the first file is the user JWT, the second
s = natsOptions_SetUserCredentialsFromFiles(opts, "path_to_creds_file", NULL);
s = natsConnection_Connect(&conn, opts);
// Destroy objects that were created