LogoLogo
Release notesHomepageTry demo
  • Welcome to B2CORE docs
  • Integrations
    • Platforms
    • Payment systems
    • KYC providers
    • Communication platforms
    • Other systems
  • Back Office guide
    • Get started
    • Clients
      • General
        • Client tab
        • Contacts tab
        • Event log tab
        • Accounts tab
        • Transactions tab
        • Finance tab
        • History tab
        • Trades tab
        • Services tab
        • Files tab
        • Settings tab
        • Advanced tab
        • Compliances tab
        • Devices tab
        • Documents tab
        • Mailing Log tab
        • Introducing brokers tab
      • Services
      • Requests
      • Accounts
      • Managers
      • Types
      • Events log
      • Jurisdictions
    • Introducing brokers
    • Finance
      • Deposits
      • Payouts
      • Deposit wallets
      • Transfers
      • Exchange
      • Transactions
      • Reports
    • Savings
      • Presets
      • Plans
    • Bonuses
      • Bonus presets
      • Bonus distribution
      • Temporary bonuses
    • Currencies
      • Currencies
      • Rates
      • Currency pairs
    • Cashback
      • MetaTrader Volume
        • Preferences tab
        • Tiers tab
    • Products
      • Products
      • Groups
      • Rights
      • Platforms
    • Promotion
      • Banners
      • Announcements
      • Dashboard
      • Menu
    • Mailing
      • Marketing
      • System
    • Ticket feedback
    • Verification
      • Levels
      • Documents
      • Document types
      • Document groups
      • Client tests
    • Investment platform
    • System
      • SMS Providers
      • Key storage
      • Deposit system
      • Payout system
      • Wizards
      • Bulk actions
      • Operation types
      • Countries
      • External connections
      • Localizations
      • Requests
      • Templates
        • Email
        • SMS
        • Slack
        • Telegram
      • Logs
      • Settings
      • Event notifications
      • Users
        • Users
        • Groups
        • Client Tags
      • Events
      • Client rights
      • Client folders
      • Backend images
      • Import data
      • Visual customization
    • Security
      • Search by IP
      • Blocked clients
      • Black lists
      • White lists
      • Transaction monitoring
      • Address whitelist
      • Email black list
    • References
      • Client statuses
      • Client request statuses
      • Transaction statuses
      • Event types for triggering event notifications for Back Office users
      • Product permissions
      • Supported currencies
      • Supported cryptocurrency payment methods
      • Block explorer list
  • How-to articles
    • Manage clients
      • How to register a new client
      • How to change a client password
      • How to disable 2FA for a client
      • How to enable internal transfers for a client
      • How to view deposit or withdrawal wallet addresses
      • How to upload files to a client profile
      • How to assign tags to clients
      • How to approve or reject client requests
      • How to create categories for the Event log
      • How to create a jurisdiction
    • Manage finances
      • How to create a deposit
      • How to create a payout
      • How to create a transfer
      • How to exchange funds
      • How to create a report
      • How to update balances
      • How to process transactions with the Partial status
    • Manage savings programs
      • How to create a savings program
        • Configure the Flexible strategy settings
        • Configure the Fixed strategy settings
    • Manage currencies
      • How to add a currency
      • How to configure currency exchange rates
      • How to add an exchange currency pair
      • How to set priorities for exchange rate providers
      • How to enable requests for exchanges in specific currency pairs
      • How to update rates in exchange requests
    • Manage bonuses
      • How to create a bonus preset
      • How to create a temporary bonus program
      • How to automatically credit bonuses to clients upon deposits
      • How to manually credit bonuses to clients
    • Manage products
      • How to create a wallet
      • How to restrict the use of a product
    • Manage platforms
      • How to integrate B2TRADER
      • How to integrate DXtrade
      • How to integrate Match-Trader
      • How to integrate MetaTrader
      • How to integrate TradeLocker
      • How to integrate OneZero and PrimeXM
      • How to enable one-click trading access from the B2CORE UI and mobile app
    • Manage cashback options
      • How to configure cashback programs for MT4 and MT5
    • Manage advertising options
      • How to create a banner
      • How to create an announcement
      • How to configure the default Dashboard
      • How to add Ticker Widget symbols to the Dashboard
      • How to configure a menu in the B2CORE UI
    • Manage mailing options
      • How to send an email
      • How to create an email template
      • How to configure SMTP
      • How to configure SendGrid
      • How to determine why clients fail to receive email notifications
    • Manage verification options
      • How to use the KYC constructor
      • How to use SumSubstance
      • How to use ShuftiPro
      • How to use iDenfy
      • How to create a client accreditation test
    • Manage system settings
      • How to set up the Registration wizard
        • How to add and configure the Registration wizard
        • How to set up fields for the Basic Information step
        • Fields supported in the Basic Information step
        • How to set up fields for the Advanced step
        • Field types and validation rules
        • How to configure the User Registration step
      • How to change the wizard workflow
      • How to block registration for a country
      • How to add or remove a language
      • How to create a request resolution type
      • How to create a request resolution
      • How to set up event notifications
      • How to set up Apple push notification
      • How to add a user group and grant permissions
      • How to add an admin user
      • How to make an admin user see only specific clients
      • How to add a manager
      • How to create a bulk action
      • How to export a CSV file with email addresses
      • How to change Back Office images
      • How to set up 2FA
      • How to import client-related data
      • How to import data related to Back Office user groups
      • How to configure a connection to Zendesk
      • How to switch from SupportPal to Zendesk
      • How to configure a connection to RudderStack
      • How to configure settings for mobile app downloads
    • Manage payment methods
      • How to add non-PSS deposit and withdrawal methods
        • How to integrate B2BINPAY
      • How to add the manual deposit or withdrawal method
      • How to add the Constructor deposit or withdrawal method
      • How to add deposit and withdrawal methods through PSS
        • How to integrate BridgerPay
        • How to integrate PayPal
        • How to integrate Paytiko
        • How to integrate Praxis
      • How to configure commissions for deposit and withdrawal methods
      • How to restrict the use of deposit and withdrawal methods
    • Manage communication platforms
      • How to configure Twilio
      • How to set up a Slack bot
      • How to set up a Telegram bot
      • How to get Telegram chat, group and channel identifiers
  • B2CORE Mobile
    • Deploying your iOS app
    • Deploying your Android app
  • B2CORE API
    • Restricted access to the API
  • Release notes
    • Release notes
    • Release notes Mobile
Powered by GitBook
On this page
  • How to create a platform for MT
  • How to create a product group for MT
  • How to create a product for MT

Was this helpful?

  1. How-to articles
  2. Manage platforms

How to integrate MetaTrader

PreviousHow to integrate Match-TraderNextHow to integrate TradeLocker

Last updated 1 month ago

Was this helpful?

This instruction explains how to create platforms, product groups, and products that are required for enabling MT4 and MT5 functionalities via the B2CORE Back Office.

For managing live and demo trading accounts on both MT4 and MT5, it's required to configure separate platforms, product groups, and products for each in the Back Office.

No external connections are required for MT platforms. Connections to these platforms are established within B2CORE via the internal WEBAPI service. All credentials needed to connect to the respective MT platform are configured in Products > Platforms.

How to create a platform for MT

To create a platform for MT:

1

Navigate to Products > Platforms.

2

Click Create in the upper-right page corner, and then select MetaTrader 4 or MetaTrader 5 in the dropdown.

3

In the Create platform popup, fill in the following fields:

  • In the Name field, enter a unique name for the platform.

  • In the Caption field, enter a caption that will be applied to the platform in the Back Office.

  • In the Income transfer request dropdown, select:

    • Yes — to require admin approval and create requests for transfers to MT accounts via the B2CORE UI.

    • No — to process transfers to MT accounts via the B2CORE UI without requests.

  • In the Outcome transfer request dropdown, select:

    • Yes — to require admin approval and create requests for transfers from MT accounts via the B2CORE UI.

    • No — to process transfers from MT accounts via the B2CORE UI without requests.

4

Click Save to proceed.

5

On the Edit platform page, specify the following settings:

  • In the Short caption field, you can optionally specify a short platform caption.

  • If you configure a demo platform for MT, select Yes in the Demo dropdown; otherwise, make sure that No is selected.

  • In the Status dropdown, select Enabled.

6

In the Settings section, specify the following connection setting:

MetaTrader connection

  • In the Host field, specify the IP address and port number for accessing the MT server.

  • In the Login field, enter the login for accessing the MT Manager.

  • In the Password field, enter the password for accessing the MT Manager.

WEBAPI connection

The WEBAPI connection settings are provided by your account manager.

  • In the Host field, specify the domain name and port number for accessing WEBAPI.

  • In the Access token field, specify the token used to access WEBAPI.

Settings

In this section, specify the additional settings:

  • In the Max inactivity days field, enter the number of days after which MT accounts will be archived if no activity is detected during that period.

  • In the Web Terminal URL field, specify the URL of the web trading terminal. When specified, the Trade button will appear on account cards for the respective platform in the B2CORE UI and mobile app, enabling clients to navigate to trading with a single click.

  • In the Use reporting on the platform dropdown, select:

    • Enabled — to activate the Send reports option for MT accounts created via B2CORE.

    • Disabled — to keep the Send reports option disabled for MT accounts created via B2CORE.

7

Click Test connection to validate the connection settings.

The checkmark displayed on the Test connection button indicates that the connection has been configured properly.

8

After the connection settings have been successfully validated, click Save.

How to create a product group for MT

To create a product group for MT:

1

Navigate to Products > Groups.

2

Click +Create in the upper-right page corner.

3

On the Create group page, fill in the following fields:

  • In the Caption field, enter a caption for the product group. This caption will be assigned to the product group in the Back Office and will be visible to clients in the B2CORE UI.

  • In the Description field, enter a group description.

  • In the Type dropdown, select Default.

4

Click Save to create the product group.

How to create a product for MT

To create a product for MT:

1

Navigate to Products > Products.

2

Click the Create in the upper-right page corner, and then select:

  • MetaTrader 5 Live — to create a product for managing live accounts on MT5

  • MetaTrader 5 Demo — to create a product for managing demo accounts on MT5

  • MetaTrader 4 Live — to create a product for managing live accounts on MT4

  • MetaTrader 4 Demo — to create a product for managing demo accounts on MT4

3

In the Create product popup, fill in the following fields:

  • In the Platform Group dropdown, select the appropriate group existing in your MT manager. MT accounts created based on this product via B2CORE will be assigned to this group.

  • In the Currency dropdown, select the currency for the product. The available currency options in B2CORE depend on the settings of the selected platform group. For example, if a platform group in the MT manager is configured for USD, then USD will be the default currency option for MT accounts created with this product via B2CORE.

  • In the Name field, enter a unique name for the product.

  • In the Group dropdown, select the previously created to include the product into that group.

  • In the Factory dropdown, select 100 to denominate MT accounts created with this product in currency subunits (for example, cents); otherwise, leave 1.

  • In the Type dropdown, select:

    • Trade — if you create a product for managing live accounts

    • Demo — if you create a product for managing demo accounts

4

Click Save to proceed.

5

On the Edit product page, specify the following product settings:

  • In the Name field, you can modify the product name. The name must be unique.

  • In the Caption field, enter a caption for the product. This caption will be assigned to the product in the Back Office and will be visible to clients in the B2CORE UI.

  • In the Default leverage field, enter the default leverage ratio that will be assigned to MT accounts created automatically when the Auto creation on login option is triggered.

  • In the Leverage field, enter one or more leverage ratios that client can select when creating MT accounts via the B2CORE UI.

  • In the Rights and Default account rights dropdowns, select the required permissions that will be applied to the product (such as Enabled, Visible, Trade enabled, Transfer deposit, and Transfer withdraw).

    The default rights will be assigned to MT accounts created automatically when the Auto creation on login option is triggered.

    For a list of possible permissions, refer to .

  • In the Max accounts field, enter an integer value to define the maximum number of MT accounts that a client can create for each currency added to the product.

    For example, if USD and EUR are added as currencies to the product and the Max accounts option is set to 1, the client can create one account in USD and one account in EUR based on this product.

    • To set no limit on the number of accounts, specify -1.

    • To forbid clients to create accounts, specify 0.

  • In the Mail dropdown, select:

    • Send or Default — to automatically send email notifications to clients when new MT accounts are created, providing them with the necessary details to start trading.

    • Don't send — to disable email notifications about new MT accounts.

  • In the Mail template dropdown, select the email template that will be used to send notifications about new MT accounts.

  • In the Start amount field, specify the amount that will be automatically deposited to demo MT accounts upon their creation.

  • In the Min deposit amount (USD) field, you can optionally specify the minimum deposit, in USD, required to create an MT account based on this product.

  • In the Auto creation on login dropdown, select:

    • Yes — to automatically create MT accounts based on the product settings when clients first sign in to the B2CORE UI.

    • No — to create MT accounts based on this product manually.

  • The First transfer activation option is only applicable to MT5. In the dropdown, select:

    • Yes — to create MT5 accounts without the Trade enabled permission. This permission will be assigned to the account upon the client's first successful transfer.

    • No — to create MT5 accounts with the Trade enabled permission, immediately active for trading.

  • In the Agreement link field, specify a link to the document to which clients must consent in order to open MT accounts via the B2CORE UI.

  • In the Link info field, specify a link to a resource with additional product information, which clients can access when creating MT accounts via the B2CORE UI.

  • On the Currencies tab, you can review the currency associated with the product and add more currencies if necessary. The available currency options are limited by the settings of the platform groups configured in the MT manager.

  • After configuring the product settings, activate it by selecting Enabled in the Status dropdown.

6

Click Save to create the product.

MT accounts related to the respective platform can now be created based on the product via the Back Office or B2CORE UI. Any changes to product settings will directly impact how the product is displayed and functions for clients in the B2CORE UI.

If both MT4 and MT5 platforms are needed, follow the same instructions to configure the other platform.

Product permissions
product group