> For the complete documentation index, see [llms.txt](https://guide.sigmabots.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.sigmabots.io/raffles/part-1-accounts.md).

# Part 1: Accounts

FLX raffles need accounts. There are two ways to prepare accounts with Sigma: importing existing accounts or generating them with our tools. This section will cover both methods as well as how to prepare the accounts for entry.&#x20;

There are two steps.&#x20;

1. Prepare accounts (two options)
   * [Account Import (Method 1)](#account-import-method-1)
   * [Account Generation (Method 2)](#account-generation-method-2)
2. [Manage Accounts](#undefined)

### Account Import (Method 1)

Account import is available using the format below. We recommend downloading this template and opening it in Google Sheets. When you are done modifying the file, download it as a .csv to be imported to Sigma.&#x20;

{% file src="/files/P6hM6px3tN1xWNE7Wb14" %}
Sigma account import template
{% endfile %}

{% file src="/files/a84QdIWtkaXnE2uzk3Qe" %}
Sigma account import example
{% endfile %}

Refer to the following guidelines when using this method:

* Email Address and Password are **mandatory** fields. Accounts cannot be imported without them. All other fields are optional, **if left blank we will assume the account does not need to be updated**.&#x20;
* Fill in the shipping address if the account does not have a default address set. The **shipping address in the .csv will be used as both the shipping and billing default addresses** for the account. There is currently no support for separate billing and shipping addresses. Ignore the billing fields in the .csv as they are useless.&#x20;
* Fill in the card information if the account does not have a card set. Note card information needs to be set separately on each site.&#x20;

Once the .csv is completed, import the file and a new group will be created. With a large amount of accounts, this may take some time.&#x20;

{% hint style="info" %}
The format of the .csv is very similar to AYCD's CSV export, except with the Password column added. If you have AYCD, you may find that useful for filling out the CSV
{% endhint %}

### Account Generation (Method 2)

#### First, Gmail Credentials

The *Set Gmail Credentials* and *Login to Gmail* settings in the settings tab will need to be set up which can be done using the following [guide](https://sigmabots.gitbook.io/gmail-api-setup/in-bot).&#x20;

#### Next, Create Accounts

Click the *Create* button on the raffles tab open the modal shown below. This modal is used to configure multiple accounts based on the base profile(s). Note that our variable system lets you do `%variable%`, which fills in info from the base profile. If you do `$variable$`, it fills in info after jigging. That's why for catchall we used `$first$` and `$last$`, since it fills in the info **after** applying the random name.&#x20;

The # of Accounts field dictates how many accounts will be generated in a group. Input the number of profiles selected in base profiles if you want to strictly make 1 account per 1 profile selected.&#x20;

![Example: 3-letter jig on line one, random apartment, random first and last name, and catchall](https://3634539731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MT2j6ASWxCtp-9D3xWz%2Fuploads%2FCQYcSRcSBlKnw7qqm5Qj%2Fmodal.png?alt=media\&token=9d2461ab-7c1a-4d1c-b01e-10a6edf115d0)

{% hint style="warning" %}
**IMPORTANT:** Note after this step, the accounts are not yet created but rather configured. The create feature merely helps you "set up" accounts to be created based on given profiles.  &#x20;
{% endhint %}

### Manage Accounts

The *Manage* tab allows you to select an account group that was either imported with method 1 or generated with method 2 and further prepare them for entry. Below are the different features available which will be explained in detail.

![](https://3634539731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MT2j6ASWxCtp-9D3xWz%2Fuploads%2FA70MGBJICglu5b9ZZ7YE%2FScreen%20Shot%202021-12-26%20at%209.20.56%20PM.png?alt=media\&token=9a2216c7-6663-4b44-b00d-808f95364d20)

#### Site

Currently does not matter for US. Footlocker is fine, the other sites are only provided in case Footlocker is having issues. Accounts created on one US footsite will work on any US footsite.

#### Update Tasks

These are like "threads" that will work through the accounts and update them accordingly. Generally, a smaller amount will update slower but with less errors.&#x20;

#### Create Accounts?&#x20;

This is equivalent to signing up on the website with the information in the prepared account. This step is not needed with method 1 if the accounts with the provided email, password combinations are already created (for example, if they are purchased or created with another tool).

{% hint style="info" %}
Accounts from Method 1 will be created (if needed) using the password specified in the CSV imported. Accounts from Method 2 will be created using a randomly generated password that meets Footlocker's specifications.
{% endhint %}

#### Activate Accounts?&#x20;

This is where [Gmail API](#first-gmail-credentials) is needed. Accounts need to be activated through a link that is send to the email associated with the account.

{% hint style="danger" %}
If the Gmail setup through [Gmail API Setup](https://sigmabots.gitbook.io/gmail-api-setup/) does not receive FLX activation emails from the accounts created, they cannot be activated.

If you are getting errors activating accounts, try searching the Gmail you setup for "Confirm your FLX account \[email]", replacing \[email] with the failing email address
{% endhint %}

#### Set shipping?

This sets the shipping address for the associated account.&#x20;

#### Only Check Accounts

This will login to each account in the group. If login is successful it will update the account as created and activated which will be reflected in the V*iew* tab.&#x20;
