In this Quickstart Guide, you’ll use Factory to Q&A your codebase, create a feature, and save it down to your local files.

Make sure you have access to Factory before getting started.

Step 1: Open Factory and Create a Session

1

Launch Factory

Open the Factory application in your browser.

2

Create a New Session

Select New Session or a relevant task from your Threads to get started.

See our Integrations guide to integrate your Jira/Linear into Factory Threads.

3

Learn about Different Use Cases

Explore the different use cases you can work on in Factory.

Step 2: Add Your Context

1

Open the Chat Panel

You will find access to your Chat, Context, and Fragment Panels in the top nav bar. The Context Panel allows you to add and view any relevant context. You can also add any relevant context (Remote/Local Repositories, Jira, Linear, GDoc, Notion, URL) directly through a message in the Chat Panel.

2

Use the @remote repo or @local repo to add a Remote or Local Repository

The @remote repo command allows you to upload and index any of your Remote Repositories for use in Factory.

See our Integrations guide to connect your Github/Gitlab.

3

Select your Remote or Local Repository

Factory allows you to select which repositories and which subfolders and files you want included in Factory’s context.

Local repositories may take a few minutes to index.

Step 3: Codebase Q&A

1

Ask Factory Any Question

Ask anything about your Codebase by using Factory’s Chat Panel and referencing any relevant repositories or context using the ”@”. You can tag any remote/local repository, file, pull request, ticket, notion doc, or Google Doc for consideration.

Learn more about Context Retrieval

2

Dynamic Context

View Factory’s Response and Show Dynamic Context to emerge any relevant files.

Step 4: Execution

1

Request Factory to Generate the Component

Factory will generate the code for the requested feature. You will see it in the Fragment Viewer.

2

Save it to your Local Directory

Leverage Factory’s Local File Sync feature to immediately save the file down to the appropriate location in your local directories. Find the file in your Chat Panel and click the Save icon to save the file down to your local directories. If you have not connected your local repository yet, use the @local repo command to select the appropriate local repository for saving.

Congratulations! 🎉

You’ve just built a UI component using Factory. This is just the beginning of what you can do with Factory.

Next Steps