Data Processing

Algorithm
Use Cases
Once you’ve uploaded your schema to Begin, it’s time to start processing your data. This step processes your user data, generates digital signatures, and uploads them to Begin’s platform. These signatures are used to create your customized A.I. model.

Before You Start

Before we can get started, you’ll need to make sure the following steps
  1. Make sure you have your license key and app ID ready from the settings page.
  1. You’ll need to have a schema uploaded to Begin. Follow these steps to get started.
  1. Once your schema is uploaded, create a project using that schema and you’ll be taken to the integration code page. You’re ready to start processing.

Install Begin’s Library

First, install Begin’s library by calling:
IMPORT THE FRAMEWORK Create a new project from Xcode Go to project folder from finder. Copy Begin.xcframework folder to the project folder At Xcode: 1. right click to Frameworks folder -> add Files to project -> Begin.xcframework 2. click to project file -> select Target 3. Frameworks, Libraries and Embedded Content -> press + button and select Begin.xcframework 4. clean and build your project 5. at your Viewcontroller, "import Begin" and start using the SDK
This will initiate the installation process.

Add Your Account Credentials

Next, open your code editor and import the library; then initialize it with the app_id and license_key that you can find under your settings menu in your account.
import Begin let beginWorker = BeginWorker.init(appId: "APP_ID", licenseKey: "LICENSE_KEY")
Code sample of import command. Make sure to replace APP_ID and LICENSE_KEY with your ID and key.

Load Your Data

Now you’re good to load your users’ data for processing on your computer. Copy the code from the IOS section on the Integration Code page to your SDK.
notion image
☝️
DON’T FORGET! All fields and interactions must be defined in the schema before they are used in the SDK.
For more information on what each field represents, refer to our field guide:
🧭
Integration Code Field Guide - iOS

Start Learning

Once you’ve loaded your data, the final step is to send the following call:
BeginWorker.shared().learnFromData();
When you write learn from data, anonymized and secure signatures are generated and sent to Begin platform to initiate the machine learning process.
💡
RUNNING ON MULTIPLE PLATFORMS? You can process users from any SDK simultaneously. Once you make the above call, the system will merge the learnings across all platforms automatically.