# Devise for Ruby on Rails: Setup, Modules & Rails 8 Auth

DevFeed: [Devise for Ruby on Rails: Setup, Modules & Rails 8 Auth](<https://devfeed.tech/articles/devise-for-ruby-on-rails-setup-modules-rails-8-auth-61670.md>)

Original publisher: [Read original article](<https://blog.appsignal.com/2023/07/12/an-introduction-to-devise-for-ruby-on-rails.html>)

Author: Aestimo Kirina

Published: 2023-07-12T00:00:00Z

Content type: tutorial

Language: en

Sources: [AppSignal](<https://devfeed.tech/sources/appsignal.md>)

Topics: [Ruby on Rails](<https://devfeed.tech/topics/ruby-on-rails.md>), [Why Rely on a Social Auth Library?](<https://devfeed.tech/topics/why-rely-on-a-social-auth-library.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [database](<https://devfeed.tech/tags/database.md>), [devise](<https://devfeed.tech/tags/devise.md>), [locking](<https://devfeed.tech/tags/locking.md>), [rails](<https://devfeed.tech/tags/rails.md>), [rate-limiting](<https://devfeed.tech/tags/rate-limiting.md>), [ruby](<https://devfeed.tech/tags/ruby.md>)

## AI overview

This tutorial introduces Devise, a modular authentication gem for Ruby on Rails, and explains its setup, modules, helpers, and production considerations. It compares Devise with Rails 8's built-in authentication generator and outlines when each option may fit.

## Source excerpt

Devise is a full-featured Rails authentication gem built on Warden. Install it, use its 10 modules, and see when to pick it over Rails 8's built-in auth.