code: private CloseableDataStore createDataStoreWithUrl(URI location, String apiKey, MetricRegistry metricRegistry) {
          // Reuse the same base classes as when using host discovery, ignoring unused fields as needed.
          String ignore = "ignore";
          MultiThreadedServiceFactory<AuthDataStore> secureDataStoreFactory = createDataStoreServiceFactory(ignore, metricRegistry);
  
          URI baseUri = LocationUtil.getBaseUriForLocation(location);
  
          Payload payload = new Payload(baseUri, URI.create("http://adminUrl.not.used.but.required"));
          ServiceEndPoint endPoint = new ServiceEndPointBuilder()
                  .withId(ignore)
                  .withServiceName(ignore)
                  .withPayload(payload.toString())
                  .build();
  
          AuthDataStore authDataStore = secureDataStoreFactory.create(endPoint);
          DataStore dataStore = DataStoreAuthenticator.proxied(authDataStore).usingCredentials(apiKey);
  
          // No operations required when closing the DataStore, so use absent.
          return asCloseableDataStore(dataStore, Optional.<Runnable>absent());
      }
docs: Creates a DataStore using a URL (e.g: "https://emodb-ci.dev.us-east-1.nexus.bazaarvoice.com").