At a end of this how to you will have given admin access to the 3scale API console to one or more colleagues.
On the main administration panel click on the Account button on the top right hand side and select Users from the submenu
Admin Users: These users can access the 3scale administration panel for the API.
From the menu select the "Invite User" button.
Enter the email address of the colleague to invite. Putting an email in the invitation box and clicking send, will send an invitation email to the colleague you wish to invite (check spam filters if the email does not arrive).
When they receive the email, your colleague needs to click the link contained in the email and fill out their personal details in the joining form. Once saved, their account is confirmed and active. However, they will have very limited rights within the portal.
Once the account is created, the new administrator will have very limited rights within the portal. To rectify this, you can now edit the new user by selecting them from the user menu and clicking Edit.
Switching Rights to “Admin” gives full access to the control Dashboard.
At a end of this you’ll have configured your location and contact information and added you company logo to the admin dashboard.
Once your account is created, head to the Account section of the dashboard and then click on the Details "Edit" item inside the Overview subsection. On this check or fill in the information for your account:
The address given here is used by 3scale for billing purposes if you are on a paid plan and also for invoice issuance to your users if you are using the billing/payments modules.
On the same screen you can also select the timezone you’d like to use in all system displays – the setting affects statistics graphs. Note however, that billing cycle calculations are made according to UTC time.
To change the standard logo on the dashboard to be your own, head to the settings area of the portal and use the “Logo” settings section to upload a new logo. This logo will appear on your internal 3scale dashboard but will not affect the Developer Portal in any way, unless you will use the "logo" liquid tag for it's display (see the Developer Portal Configuration Section to see how to configure the Developer Portal).
One of the most popular ways to monetize an API is by defining subscription fees for usage of the API. This section focuses on the use of application plans to provision pricing tiers. It is also possible to apply pricing rules at the account and the service level, and these topics are covered in advanced guides.
At the end of this section you will understand the pricing options for application plans and be able to setup a paid plan.
The first question is to decide how to differentiate between the tiers in your pricing model. The answer could be one of, or a mixture of:
Once you have decided on your pricing drivers, you need to also decide the pricing rules. The options include flat rate subscription, variable rate, and one off upfront charge. If you use volume of hits or resource consumption for your differentiation, then clearly you will have an element of variable rate pricing. All three of the pricing drivers are also compatible with the one off, or monthly flate rate subscriptions.
First, you either create a new application plan or edit an existing plan. As part of the creation step you can enter any upfront charges or flat rate subscriptions.
In the edit application view, you can enter/modify the upfront charges and subscriptions. Next you setup up the pricing drivers that you chose in step 1. If some of the drivers already exist as metrics, then you simply edit the item:
Once you are finished with setting up your pricing rules, be sure to click “update application plan”
It is fine to define an API paid plan with one single application plan. Usually this would be the case if all your pricing rules are defined with volume or resource drivers. However if you want to offer separate plans for the different segments of your developer community, you will need to add more application plans. The easiest way to do that is to copy the first application plan from the application plan overview page. This way you have a pre-populated plan with all the existing metrics and pricing rules. Of course the more care you take to create a full plan the first time, you more time you will save with the plan copy feature.
In order to provision the plans, your developers must create new applications, and select one of the new paid plans. You can also do this on their behalf from the admin console. For any existing applications it is also possible to change from an existing plan to one of the new paid plans.
In conjunction with flat-rate pricing plans it is very common to differentiate the different tiers through varying rate limits. The steps to do this are explained in Provision rate limits
Rate limits allow you to throttle access to your API resources. You can configure different limits for separate developer segments through the use of application plans.
Once you have rate limits in place, these limits will control the responses when you make authorization request calls to 3scale’s backend.
If you do not yet have an application plan defined, you should first create one. Otherwise select your plan and click “edit”.
When you are finished with setting all the limits you want, you should make sure to save your changes with “update application”.
Now that you have your rate limits defined, the following will happen:
Besides setting rate limits, you can also set variable pricing rules for the same metrics: Provision paid plans
Note that this feature is only available on the Plus plans and above.
Note also that the procedure involves several approval steps – so please allow plenty of time (we recommend 2 weeks) to initiate the change before it is required.
This is part of a 3 part series on branding. See the other sections:
At the end of this how to you will have changed the URL of your Developer Portal to a new location under your own company domain name so that you can publicize it under your own brand.
Configure your own DNS records to point to the location of 3scale’s servers.
CNAME developer.mydomain.com pointing to mydomain.3scale.net
Note developer.mydomain.com is the most popular domain among 3scale customers. You need to implement the CNAME via your DNS provider.
Normally you will want to make the change to your custom domain before you allow public access to your Developer Portal. In case you already have public users, you should bear in mind that it is not possible to define a redirect from mydomain.3scale.net to your custom domain. Therefore you would need to inform your users about the domain change.
It is best to implement the CNAME in advance. In a few rare cases this is not possible such as when you have an existing site in public use at that domain. If this applies please contact 3scale support to determine the best way to synchronize a switchover
All Developer Portals run under SSL and hence when switching to your own domain you will need to enable an SSL Certificate for your domain. Inform 3scale with the following information:
3scale will confirm the domain name procedure and initiate the creation of an SSL certificate using Digicert. As part of the process an email will be sent from the certificate provider (DigiCert) to the registered contact owner of your domain. This is often a named person in your organisation or a generic address such as email@example.com*.
The email will request approval of the creation of an SSL certificate for the subdomain and the person in question will need to approve creation.
It is important before initiating the process to inform the individual who will receive the above email that this is happening.
Once the certificate is issued it will be issued to cover the Developer Portal and 3scale will confirm once this has been done.
Within a maximum of one week after receiving the SSL certificate approval, 3scale will complete the domain switch in our systems and will inform you.
The DNS records need to propagate before users start to be able to associate the new location with this address. This normally takes about 30 mins, but can take up to 24hrs. If it takes longer than this, check that the record has been correctly associated with the domain. You can do this by using a tools such as nslookup or dig on the subdomain.
Review and test your Developer Portal carefully after the domain change. In particular any links to the custom domain which are not relative must be updated
Emails sent by the 3scale system to developers on your behalf, are distributed by the service provider, Sendgrid. The configurations guidelines in this section allow the emails to come from one of your domains rather than from 3scale.
This feature is not available on Base plan accounts.
After you have configured the email setup on your side, then inform 3scale support (firstname.lastname@example.org) for the remaining step to be completed.
Just as for SSL certificates, it is recommended to complete these steps as soon as possible.
APIMAIL.YOURDOMAIN.com CNAME u11705.wl.sendgrid.net
(or add “include:u11705.wl.sendgrid.net” to an existing record)
v=spf1 include:u11705.wl.sendgrid.net -all
s1._domainkey.YOURDOMAIN.com CNAME s1.domainkey.u11705.wl.sendgrid.net s2._domainkey.YOURDOMAIN.com CNAME s2.domainkey.u11705.wl.sendgrid.net o1.APIMAIL.YOURDOMAIN.com A 184.108.40.206
Use the following DIG statements from the command line to verify that your DNS changes are correctly implemented:
dig cname APIMAIL.YOURDOMAIN.com # should return "u11705.wl.sendgrid.net" dig cname s1._domainkey.YOURDOMAIN.com # should return "s1.domainkey.u11705.wl.sendgrid.net" dig cname s2._domainkey.YOURDOMAIN.com # should return "s2.domainkey.u11705.wl.sendgrid.net" dig a o1.APIMAIL.YOURDOMAIN.com # should return "220.127.116.11" dig txt YOURDOMAIN.com # should return "v=spf1 include:u11705.wl.sendgrid.net -all"
As the final step, inform 3scale support to initiate the email change with the following information: