Socially assistive robots (SARs) offer great promise for improving outcomes in paediatric rehabilitation. However, the design of software and interactive capabilities for SARs must be carefully considered in the context of their intended clinical use. While previous work has explored specific roles and functionalities to support paediatric rehabilitation, few have considered the design of such capabilities in the context of ongoing clinical deployment. In this article, we present a two-phase in situ design process for SARs in health care, emphasising stakeholder engagement and on-site development. We explore this in the context of developing the humanoid social robot NAO as a socially assistive rehabilitation aid for children with cerebral palsy. We present and evaluate our design process, outcomes achieved, and preliminary results from ongoing clinical testing with 9 patients and 5 therapists over 14 sessions. We argue that our in situ design methodology has been central to the rapid and successful deployment of our system. Rehabilitation outcomes rely critically on patients adhering to a prescribed set of rehabilitation exercises [38]. When those patients are children, maintaining compliance and focus while performing what can often be tiring, uncomfortable, and repetitive exercise programs presents a significant challenge [30,34]. While therapists and caregivers are well equipped with skills and experience to maintain a child's motivation, this takes considerable time and resources [24]. Therapists are not always able to attend each prescribed exercise session and, even when present, results are not always positive.Socially assistive robots (SARs) are increasingly being considered to support a range of health care delivery needs. SARs provide assistance primarily through social interaction and engagement [8], that is, children suffering form serious illness [1]. SARs have shown promising results for improving mood, reducing stress, and encouraging communication for children on the autism spectrum [35], in rehabilitation [4,37], for encouraging exercise in older adults [7], and in poststroke rehabilitation [44].Paediatric rehabilitation presents an ideal context for the application of SARs. Previous work suggests that SARs may provide therapeutic benefits for patients through increased focus and compliance [9,17]. However, no formal clinical evaluation of the therapeutic benefits of SARs for rehabilitation currently exists. This requires development beyond proof-of-concept, with clear clinical-use cases identified. While previous work has explored specific roles and functionalities to support paediatric rehabilitation (e.g., [2,4,20,37]) few have considered the design of such capabilities in the context of ongoing clinical deployment. Addressing this gap is critical to understanding the clinical context that SARs must operate in and for establishing the long-term legitimacy of SARs as effective and usable therapeutic aids with therapists and caregivers.We are developing software to adapt the humanoid robot NAO ...