MindsDB home page
Search...
⌘K
MindsDB
Open Source Product Docs
Overview
Introduction
Overview
Data Unification
Knowledge Bases
Tables, Views, and Files
Projects
Data Transformation
Functions
Custom Functions
The LLM() Function
The TO_MARKDOWN() Function
The from_env() Function
Standard SQL Support
Data Automation
Jobs
Triggers
Use Cases
AI-Powered Data Retrieval
Data Enrichment
Automated Fine-Tuning
AI Workflow Automation
MindsDB home page
Search...
⌘K
Ask AI
Slack
GitHub
Website
Watch Video
Watch Video
Search...
Navigation
Functions
The from_env() Function
Documentation
Connect
Unify
Respond
MCP API
SDKs & APIs
Contribute
FAQs
Documentation
Connect
Unify
Respond
MCP API
SDKs & APIs
Contribute
FAQs
Slack
GitHub
Website
Watch Video
On this page
Usage
Functions
The from_env() Function
Copy page
Copy page
MindsDB provides the
from_env()
function that lets users pull values from the environment variables into MindsDB.
Usage
Here is how to use the
from_env()
function.
Copy
Ask AI
from_env(
"MDB_MY_ENV_VAR"
)
Note that due to security concerns,
only the environment variables with name starting with
MDB_
can be extracted with the
from_env()
function
.
Learn more about
MindsDB variables here
.
Was this page helpful?
Yes
No
Suggest edits
Raise issue
The TO_MARKDOWN() Function
CTEs
Assistant
Responses are generated using AI and may contain mistakes.