> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Best Practices

> Recommended practices for working with the FlexAI platform

Explore proven best practices and recommendations for working effectively with FlexAI. These guides provide practical solutions for common integration challenges and help you optimize your workflow across various environments and use cases.

<CardGroup>
  <Card icon="laptop" title="CLI on Virtualized Environments" link_title="true" href="./best-practices/alternative-methods/cli-on-a-virtualized-env">
    Learn how to configure the FlexAI CLI to work properly in virtual machines or containers using host networking for authentication callbacks.
  </Card>

  <Card icon="seti:powershell" title="Authentication in Non-Graphical Environments" link_title="true" href="./best-practices/alternative-methods/logging-from-a-remote-env">
    Workaround for authenticating with FlexAI CLI on headless servers or VMs without web browsers by copying configuration files.
  </Card>

  <Card icon="translate" title="Resource Naming Conventions" link_title="true" href="./best-practices/resource-naming-conventions">
    Essential guidelines for naming FlexAI resources including Inference Endpoints, Fine-tuning and Training Jobs, Datasets, and Secrets. Learn the required formats and constraints.
  </Card>
</CardGroup>
