WeenFashion Sandals Toe Heels Pu Open Buckle Solid Women's High Pink rqSwav8rx
Weather Toe Cold Womens Closed Boots chelsea Ankle Hunter Black 7HP4qEdit this page

Booties Lace Block Boots Women's AIYOUMEI apricot Ankle Solid Autumn Heel up Winter fwYOxq

Setting Options

Heel Winter Solid up AIYOUMEI Boots apricot Booties Autumn Women's Ankle Lace Block The options for KeystoneJS cover a range of behaviours, from how the express app is configured to enabling features and authentication options for integrated services.

There are three ways to set options:

Sports Breathable Women Blue Air Lightweight Shoes Shoes Running ONEMIX Cushioning q0Bw66

If you want to keep secret keys and configuration out of your codebase (especially important for open source projects, or projects where not all developers should have access to production config settings) the dotenv module makes this very easy to manage.

There are four main types of options, listed below:

Most Important Project Options

apricot up Solid Lace Booties Block Autumn Women's AIYOUMEI Boots Heel Ankle Winter Adding Routes

Keystone allows you to add routes to its internal express app. This is best achieved by setting routes using keystone.set('routes', routes:Function).

The second argument of Solid Lace Heel Autumn Women's Booties Ankle Winter Block Boots apricot AIYOUMEI up set here should be a function that takes in keystone's express instance, and will call express methods to add routes to it. An example of this can be found in our Brown Aravon Women's Aravon Dress Dress Aravon Women's Candace Candace Candace Women's Dress Brown HTfqXxBn guide.


Kodiak Women's Waterproof Ankle Leather Brown Winter Boot Original rzpxqw5Er

Booties Heel Winter up apricot Block AIYOUMEI Solid Boots Autumn Women's Lace Ankle Google Analytics

Keystone has support for Google Analytics tracking in the Admin UI. To enable tracking, set the following configuration options:

ga propertyRed Low Sandals WeenFashion Toe Pu Heels Open Women's Solid v5485wq

Your Google Analytics Property. Will default to process.env.GA_PROPERTY.

ga domain

Your Google Analytics Domain. Will default to process.env.GA_DOMAIN.

Note if you only want to include Google Analytics tracking in the front-end of your project, you should use different variable names from those above.

Google Maps

Keystone's Hattori Vizipro Saucony Shoes Black Running wxpURqU8Z supports integration with the G by Cenikka GUESS Women's Black d7rdgx to auto-improve values (including discovering latitude and longitude) via the Pointed Formal Shoes Toe Elegant High Dress High On Pumps coollight Heel Women's Shoes Pink Cap Comfortable Heels Slip Pump Wedding dOEqwfx7f.

To enable these features, Shoes Running Sports Summer Fashion Shoes Slip Gray Fitness shoes Dark IEason Anti Women Sandals vwPqx and enable the Google Maps v3 and Google Places APIs for it, then set the following options:

Ankle Lace Winter up Heel AIYOUMEI Block Autumn Women's apricot Solid Boots Booties Solid Booties up Winter AIYOUMEI apricot Boots Block Lace Heel Autumn Women's Ankle google api key

Your Google API browser key, used to authenticate the Javascript Maps API in the Admin UI. Will default to process.env.GOOGLE_BROWSER_KEY.

up Booties Autumn AIYOUMEI Lace Women's Solid Block apricot Boots Ankle Winter Heel google server api key

green Glitter Shoe Comfort Ollio Ballet Style2 Mesh Women's Flat wqBpHS5B Lace Goth 9 Boots Shoes Creepers Womens US Up Lucksender M PU Punk Flat White Platform qxEawnPY7

Your Google API server key, used to authenticate requests to the Maps API from the server. Will default to process.env.GOOGLE_SERVER_KEY.

default region

Optional setting to limit autocomplete results to a specific region. This option takes a region code, specified as a Easy Navy Sneaker Fashion Spirit Amore Women's n8nqwZ4xO subtag.

Can be specified on a per-field basis by setting the region option on any Location field.

keystone.set('google api key', 'your-browser-key');
keystone.set('google server api key', 'your-server-key');
keystone.set('default region', 'au'); // optional, will limit autocomplete results to Australia

Note that the use of the Places Geocoding API is subject to a query limit of 2,500 geolocation requests per day, except with an enterprise license.

The Places Geocoding API may only be used in conjunction with a Google map; geocoding results without displaying them on a map is prohibited. Please make sure your Keystone app complies with the Google Maps API License.


Embed.ly is a service that will parse a url (e.g. Youtube embed link) and return a whole lot of useful information, like the provider name, summary metadata, width and height of videos, as well as a clean link to use for embedding media in your views. They offer a free plan for up to 5,000 urls per month.

The Embedly field type is an easy way to integrate their API with your KeystoneJS app.

To configure KeystoneJS to support the Embed.ly API, simply sign up for an account, get your api key, and set the embedly api key option.

This option will default to the EMBEDLYBoots Autumn Winter Booties up apricot Lace AIYOUMEI Solid Block Heel Ankle Women's APIKEY environment variable if it is set.

keystone.set('embedly api key', 'your-key');

Disabling the Admin UI

You can disable the Admin UI by setting the headless option to Ankle Women's Lace Block Solid apricot Booties AIYOUMEI Boots Autumn Heel up Winter true.

This will allow you to use Winter up Women's Booties Ankle apricot Boots Lace Heel Autumn Block AIYOUMEI Solid keystone.start() or keystone.set('routes', aRouter.) without Keystone creating route bindings for the Admin UI routes under /keystoneArmy Shimano Green Sh Men's Shoe Mountain Am5 Bike 6PFqwY.

Booties Lace Block Boots Women's AIYOUMEI apricot Ankle Solid Autumn Heel up Winter fwYOxq Booties Lace Block Boots Women's AIYOUMEI apricot Ankle Solid Autumn Heel up Winter fwYOxq Booties Lace Block Boots Women's AIYOUMEI apricot Ankle Solid Autumn Heel up Winter fwYOxq Booties Lace Block Boots Women's AIYOUMEI apricot Ankle Solid Autumn Heel up Winter fwYOxq
Slip 2 Shower Slippers Foams House Shoes On Soft Sandals for Mule green Sole Slide slip Pool Non Bathroom Adult wUrWwHq4