*** title: How to Implement Feature Flags in Java Spring Boot slug: /guides/implement-feature-flags-in-spring-boot description: Guide for using Unleash feature flags keywords: 'implement, feature, flags, feature flags, unleash' 'og:site\_name': Unleash Documentation 'og:title': How to Implement Feature Flags in Java Spring Boot max-toc-depth: 3 ---------------- Java [Spring Boot](https://spring.io/projects/spring-boot) is a popular Java framework for getting apps up and running with minimal configuration. It is often used to develop microservices for large enterprise software. Leveraging feature flags allows developers to toggle new features on and off, whether you’re experimenting in your local environment, testing for QA purposes, or rolling out changes to users in production. With Unleash, an open-source feature flag service, you can use our tooling to implement feature flags into your application and release new features faster, strategically, and safely. But how can you do this in Java Spring Boot? In this tutorial, you will learn how to use a feature flag in a Java Spring Boot app. We will use the [Spring Pet Clinic app](https://github.com/spring-projects/spring-petclinic) and the [Unleash Spring Boot SDK](https://github.com/Unleash/unleash-spring-boot-starter) to control how a [Spring Bean](https://docs.spring.io/spring-framework/reference/core/beans/definition.html) is used for a new page. Watch the video tutorial and follow along with the code from this documentation.