Marketo
Marketo
Prerequisites
Before obtaining OAuth credentials, you need to create a custom service in Marketo if you do not already have one. This procedure involves creating a new role with REST API privileges, assigning that role to an existing or new user, and then creating a new service.
Note that only users with Admin privileges can create a Custom Service and that the term “service” refers to the entity created to provide OAuth credentials for API access.
Step 1: Create a New Role for API Access
- Navigate to the Marketo application’s Admin area.
- Navigate to the Security section.
- Click Users & Roles.
- Select the Roles tab.
- Click New Role.
- Specify a Role Name and select Role permissions. Specify Access API permissions that are specific to the REST API.
Step 2: Assign or Create a New User for API Access
- Select the Users tab.
- To assign the role to a user, click Invite New User.
- Enter the new user information and assign them the role you just created with REST API access.
- To denote the user as an API Only user, select the API Only option.
Step 3: Create the New Service
- Navigate to Admin > Integration and click the LaunchPoint option.
- Click New Service.
- Specify the Service Type as Custom.
- Enter a display name and description for the service.
- Assign the user you just created to the service.
Once you have a custom service, do the following:
-
Go to the Admin tab.
-
Click the LaunchPoint option.
-
Select the custom service and click View Details. Marketo displays a window that shows the authentication credentials.
-
Copy and paste the Client Id as the OAuthClientId and the Client Secret as the OAuthClientSecret.
セットアップガイド
以下の手順で、Marketo をCData Connect Cloud アカウントに接続します。
-
CData Connect Cloud のダッシュボードからConnections ページを開きます。
-
右上の+ Add Connection をクリックします。
-
検索フィールドに Marketo と入力し、データソース名をクリックします。
-
新しいコネクションのBasic Settings タブで、コネクション名を入力するかデフォルトの名前をそのまま使用します。
-
Enter your Marketo URL. You can locate this in Admin > Integration > Web Services > REST API. Example values: https://123-abc-456.mktorest.com/ or https://123-abc-456.mktorest.com/rest.
-
Paste the OAuth Client Id you obtained in the prerequisites.
-
Paste OAuth Client Secret you obtained in the prerequisites.
-
(Optional) Set Use Bulk API to True to let it handle bulk requests of certain large datasets.
-
CData Connect Cloud Add Marketo Connection ページ上部の、Save & Test をクリックします。
-
接続テストに成功すると、コネクションが作成されたことを示すConnection successfully saved というメッセージが表示されます。Edit Connection ページのStatus もAuthenticated に変わります。Edit Connection ページの右ペインにあるData Model タブで、成功したコネクションのデータモデルを表示します。
-
接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。CData Connect Cloud は、データが不足している必須フィールドの下にエラーメッセージを表示します。一部のデータソースでは、ソースのWeb サイトに直接サインインする必要があります。サインインしていない場合は、Sign in ボタンの下にエラーメッセージが表示されます。エラーを修正し、もう一度試してください。
-
失敗したコネクションは下書きとして保存され、Status はNot Authenticated になります。後でコネクションに戻って認証することができます。
-
詳細について
CData Connect Cloud とMarketo の連携の詳細動作については、こちらのページを参照してください。