Skip to main content

Maxmind Geo-Location Service Setup

In this section we will discuss step by step process for integrating Maxmind Geolocation service in Blink.

Get Maxmind Keys

  • Open your backend code in VS Code and open package.json file. Write account id and license key in geolite2 section's "account-id" and "license-key" respectively.

Get Maxmind Keys

package.json
  "geolite2": {
"account-id": "*******",
"license-key": "****************************************",
"selected-dbs": [
"Country"
]
}
  • Then open the .env file and write the MAXMIND_ACCOUNT_ID and MAXMIND_LICENSE_KEY variables respectively.
.env
# Maxmind
MAXMIND_ACCOUNT_ID="*******"
MAXMIND_LICENSE_KEY="****************************************"
info

For better geolocation service consider buying Maxmind's premium plan.