---
title: "Discussion on \"How to set up Geocoder API in Rails 7\" | Hashnode"
description: "Discussion on \"How to set up Geocoder API in Rails 7\". Install the Geocoder gem:\n\ngem install geocoder\n\n\nCreate a Rails initializer file called geocoder.rb in your Rails project's config directory.\n\n\nIn the geocoder.rb file, configure the Geocoder gem with your API key. You can get an API key from the Go..."
url: "https://hashnode.com/posts/how-to-set-up-geocoder-api-in-rails-7/65132c0786f68e18155fe98e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to set up Geocoder API in Rails 7](https://alexcosmas.com/how-to-set-up-geocoder-api-in-rails-7?utm_source=hashnode&utm_medium=feed)

Install the Geocoder gem: gem install geocoder Create a Rails initializer file called geocoder.rb in your Rails project's config directory. In the geocoder.rb file, configure the Geocoder gem with your API key. You can get an API key from the Go...

Sep 26, 2023 · 1 min read · alexcosmas.com  
Read the article

-   [#configuration](https://hashnode.com/tag/configuration)
-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)

## Written by

[Alex Cosmas](https://hashnode.com/@AlexCosmas)

@AlexCosmas

  
[View profile](https://hashnode.com/@AlexCosmas)

Product designer | developer

7+ years of experience building applications for several startupsin various industries creating processes, product lifecycles, workflows, and writing optimized front-end code for mostly Backend/Full-Stack Engineers.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
