Skip to main content

Documentation Index

Fetch the complete documentation index at: https://fal.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

fal uses GitHub authentication by default, which means you need a GitHub account to use it. This method is convenient for local development and interactive use of the fal CLI. GitHub authentication works through the fal CLI, which handles the OAuth flow and stores your credentials locally. This is the simplest way to get started with fal during development.

Logging in

Installing fal Python library lets you use the fal CLI, which you can use to authenticate. In your terminal, you can run the following command:
fal auth login
Follow the instructions on your terminal to confirm your credentials. Once you’re done, you should get a success message in your terminal.
Beta alert!fal sdk is an enterprise feature. Once you run the login command, you will get an error that you should reach out to support@fal.ai. Shoot us an email with how you are planning to use fal, and we will make sure to get you access asap.
Now you’re ready to write your first fal function!
Note:Your login credentials are persisted on your local machine and cannot be transferred to another machine. If you want to use fal in your CI/CD, you will need to use key-based credentials.