# Adding nutrition constraints

Usually when you are planning meals for your clients, you would like to set nutrition constraints for them to abide by.

Smorg supports several types of nutrition constraint, including macro-nutrients, micro-nutrients, food exclusions and food preferences.

Let's go through some examples. For example if you wanted to create a keto diet plan with the following constraints:

* Less than 10 percent of your total calories from carbohydrates per day
* The remaining calories should come from 20 to 30 percent protein and 60 to 80 percent fat

Let's set this up in Smorg:

<br>

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fr9bdlQGFzhny8zWPvxIn%2Fuploads%2FtG7zlv5qJ6jBM9kHXh52%2Fadding_nutrition_to_programs.mp4?alt=media&token=cb8ef1bb-2f92-41b3-991c-2b834ecd7734>" %}

**REMEMBER:**

* Check the "Personalised meal scaling" if you want the meals to be personalised to your clients' calorie targets.
* Check the "Display nutrition to users" setting if you want the nutrition settings to be displayed in your clients's app.
* The assumed calories per day when creating meal plans this way is 2000kCal per day. Of course when the meal plan is actually used, it will be personalised to your customers' BMR.

\ <br>

Once you have set the nutrition constraints, you can then start filling the program plan with meals. When meals are added, the nutrition headers will automatically add up your specified nutrients in the meals for the day.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.mealiq.io/programs/adding-nutrition-constraints.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
