Connect to API with secret.