# Configure the Integrations Manually

You can configure the Integrations manually (Without configuring them inside your project on pixfort.com platform) by editing the file `"/pix_mail/config.php"`.

You can set the default form type from the line:

```
$mail_type = "ce";
```

Where `"ce"` is "Custom email" Type, for other types you can use:

* `"smtp"` for **SMTP** custom email type.
* `"mc"` for **mailchimp**.
* `"cm"` for **Campaign monitor**.
* `"gr"` for **GetResponse**.
* `"aw"` for **AWeber**.
* `"ac"` for **ActiveCampaign**.
* `"ml"` for **MailerLite**.
* `"fm"` for **FreshMail**.
* `"mw"` for **MailWizz**.
* `"sendy"` for **Sendy**.
* `"hs"` for **Hubspot**.
* `"ic"` for **iContact**.

After that you can fill in the other options, for example your **email address** and the **Subject** in the fields:

```
$to_Email       = "your_email@domain.com"; //Replace with recipient email address
$subject        = "Lead email subject here"; //Subject line for emails
```

If you are using **SMTP** form type, you should input the following SMTP configurations:

```
// SMTP Settings
    define('SMTP_HOST', 'smtp.domain.com');
    define('SMTP_USER', 'your_email@domain.com');
    define('SMTP_PASS', 'your_password');
```

For the other integrations you should input the **API key** for any used integration in its corresponding fields:

```
/* Mailchimp setting. */
define('MC_APIKEY', ''); // Your API key from here - http://admin.mailchimp.com/account/api

/* Campaign Monitor setting. */
define('CM_APIKEY', ''); // Your APIKEY from here - https://pixfort.createsend.com/admin/account/

/* GetResponse setting. */
define('GR_APIKEY', ''); // Your API key from here - https://app.getresponse.com/my_api_key.html

/* AWeber setting */
define('AW_AUTHCODE', ''); // Your Authcode from here - https://auth.aweber.com/1.0/oauth/authorize_app/647b2efd

/* ActiveCampaign setting */
define("ACTIVECAMPAIGN_URL", ""); // API_URL : Go to My Settings - > Developers
define("ACTIVECAMPAIGN_API_KEY", ""); // API_KEY : Go to My Settings - > Developers

/* MailerLite setting */
define("MailerLite_API_KEY", ""); // API Key: Go to https://app.mailerlite.com/integrations/api/

/* FreshMail setting */
define ( 'FM_API_KEY', '' ); // API Key: Go to https://app.freshmail.com/en/settings/integration/
define ( 'FM_API_SECRET', '' ); // API Secret: Go to https://app.freshmail.com/en/settings/integration/

/* Sendloop setting */
define("Sendloop_API3_KEY", ''); // API Key
define("Sendloop_SUBDOMAIN", ''); // LIST ID (GroupID)


/* MailWizz setting */
define("Mailwizz_apiUrl", ''); // API URL, Should be http://www.yourdomain.com/api/index.php (where MailWizz is installed)
define("Mailwizz_publicKey", ''); // Public Key: Go to "Api Keys" and create new key
define("Mailwizz_privateKey", ''); // Private Key: Go to "Api Keys" and get the private key

/* Sendy setting */
define("Sendy_URL", ''); // Your Sendy installation URL (without trailing slash).
define("Sendy_apikey", ''); // Your API key. Available in Sendy Settings.

/* Hubspot setting */
define("Hubspot_api", '');

/* iContact setting */
define("iContact_appId", '');
define("iContact_apiPassword", '');
define("iContact_apiUsername", '');
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.pixfort.com/integrations/configure-the-integrations-manually.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
