We should provide a config module to allow developers to explicitly set the connection options.
var gcloud = require('gcloud'),
datastore = gcloud.datastore,
config = gcloud.config;
// on app engine, it should also discover if running locally
// if process.env.SERVER_SOFTWARE === 'Development'
datastore.dataset(config.appengine());
// compute engine
datastore.dataset(config.compute());
// service account, credentials file is the new developer console file
// that contains private key + service account email.
datastore.dataset(config(credentialsFilename));