Getting started with BoB

Getting started with BoB

This guide takes your organisation from first contact with Samtrafiken to a BoB system in production. It applies to public transport operators, third parties that resell operators' tickets and system vendors that supply BoB-compliant functions. If you are new to BoB, start with Introduction to the BoB Standard.

All requests to Samtrafiken go through help.samtrafiken.se.

Before You Start

Your organisation needs a BoB Main Contact Person. Choose someone who is well anchored in the organisation, knows your ticketing systems and can make decisions on BoB matters. The contact person is your main contact with Samtrafiken and cannot be a representative of a system supplier.

If your organisation helps finance the administration of the standard, the contact person also coordinates your replies to Requests for Comments and may take part in the Change Advisory Board.

Phase 1: Register

  1. Appoint your BoB Main Contact Person.

  2. Register for BoB basic training at help.samtrafiken.se by choosing Övriga supportärenden and then BoB – Kursanmälan. The training is online and suits all roles.

  3. Join BoB Tech, the technical community with a mailing list and BoB Tech Live meetings. Request membership at help.samtrafiken.se under BoB – General support.

  4. Apply for a Participant Identifier (PID) at help.samtrafiken.se. Give your organisation name, contact person and any other relevant information.

Phase 2: Set Up Keys

Generate your Metadata Key and exchange it with Samtrafiken for the test environment. In test, your system supplier can do this for you. Follow 2. Becoming a BoB Participant, which describes the key format, the exchange and the keys you receive from Samtrafiken.

When Samtrafiken has registered your key, it is shown in BoB participant metadata key registration status.

Phase 3: Implement and Test

  1. Choose the APIs you need for your role and implement them, together with authentication, metadata and ticket signing as described in Security & Trust. See BoB API Documentation. Examples from earlier implementations are collected in Implementation Guides.

  2. Test against BoB-test, Samtrafiken's shared test environment, which runs on TESS. PID 1 can always be used for testing. See How to use BoB-test. For local testing during development you can also use the BoB Metadata Docker Image. Both are optional.

  3. Run a compliance test with STEVE. See Testing and Validation in BoB.

  4. Test interoperability with other participants through BoB Metadata. Check that authentication, encryption and the flows your system uses work.

Phase 4: Go Live

  1. Exchange keys for production as described in 2. Becoming a BoB Participant. The keys are registered in BoB Metadata Production.

  2. Check that the connection to BoB Metadata Production and the authentication work.

  3. Activate your systems in production and start issuing or validating BoB tickets.

  4. Add your system to List of Participant IDs and Known Implementations, so that other participants can see which systems they can work with.

After Go-Live

Keep your information in BoB Metadata up to date and tell Samtrafiken about changes in your organisation or systems that affect BoB. You are also expected to take part in consultations about changes to the standard.

If you have questions, use help.samtrafiken.se or ask in BoB Tech. Samtrafiken can also arrange a meeting with your organisation to go through the standard.

Related Sections