# Flux > Documentation for Flux ## Docs - [API Overview](https://flux.commercemind.se/api/overview.md): Even if you don't plan to use the Flux API to calculate discounts but doing that using the IDiscountCalculator directly you will want to deploy the API in order to use the Flux UI which requires the API to work. - [Changelog](https://flux.commercemind.se/changelog.md): Notable changes in Flux, newest first. - [Buy X get Y discounts](https://flux.commercemind.se/how-to/buy-x-get-y-discounts.md): Use a Buy X get Y discount when the customer must buy a certain number of eligible items before some of them are discounted. - [Create a discount](https://flux.commercemind.se/how-to/create-discount.md): A discount in Flux is primarily made up of two parts: - [Fee discounts](https://flux.commercemind.se/how-to/fee-discounts.md): Use a Fee discount when the reward should reduce a fee, such as shipping, handling, service fees, or other charges your store sends to Flux. - [Gifts](https://flux.commercemind.se/how-to/gifts.md): Use a Gift discount when the customer should receive one or more products instead of a price reduction. - [Line item discounts](https://flux.commercemind.se/how-to/line-item-discounts.md): Use a Line item discount when you want to discount specific products or order lines. - [No discount target](https://flux.commercemind.se/how-to/none-discount-target.md): Use None when the discount should exist in Flux, but Flux should not calculate a product, fee, gift, or total price reward from the discount itself. - [Total price discounts](https://flux.commercemind.se/how-to/total-price-discounts.md): Use a Total price discount when the reward should be taken from the cart total instead of from specific products. - [Introduction](https://flux.commercemind.se/index.md): Flux is a headless discount engine that works with any e-commerce platform. - [Architecture](https://flux.commercemind.se/technical-guide/architecture.md): Flux is built to be horizontally scalable and not make any database calls as part of a customer request since we don't want the database to become a bottleneck during peak loads. - [Database](https://flux.commercemind.se/technical-guide/database.md): At the time of writing Flux supports Sqlite, SQL Server and PostgreSQL. But it's trivial for us to support any other database that is supported by Entity Framework so if you need MySQL or something else, please let us know. - [Getting Started](https://flux.commercemind.se/technical-guide/getting-started.md): The first thing you need to do is to create a .NET application where you will install Flux into. Or, install it into an existing application. - [Subscriptions](https://flux.commercemind.se/technical-guide/subscriptions.md): A subscription is an entity you create that tells Flux to keep an eye on a defined set of product prices and to push a notification to an external system whenever those prices change. Instead of having you poll the API on a schedule, you register a subscription once and let Flux deliver the changes as they happen.