From 5144bca14bd55dc54e6aeae1fef9c8113506c15c Mon Sep 17 00:00:00 2001 From: Murdo <109604278+murdo-moj@users.noreply.github.com> Date: Tue, 3 Dec 2024 10:49:31 +0000 Subject: [PATCH] Update database-access.md (#471) * Update database-access.md Add basic info about how to get database access as this page is linked in Find MoJ data * Update database-access.md --- .../tools/create-a-derived-table/database-access.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/documentation/tools/create-a-derived-table/database-access.md b/source/documentation/tools/create-a-derived-table/database-access.md index 3678358f..a1302e34 100644 --- a/source/documentation/tools/create-a-derived-table/database-access.md +++ b/source/documentation/tools/create-a-derived-table/database-access.md @@ -1,5 +1,12 @@ # Database Access +To access databases via the AP, you must have an AP account. [There is a quickstart guide in the docs.](https://user-guidance.analytical-platform.service.justice.gov.uk/get-started.html#quickstart-guide) + +To get access to AP data, users must use the [data-engineering-database-access](https://github.com/moj-analytical-services/data-engineering-database-access) service. [Database resources](https://github.com/moj-analytical-services/data-engineering-database-access/tree/main/database_access) define access for databases, and these are assigned to users via [project files](https://github.com/moj-analytical-services/data-engineering-database-access/tree/main/project_access). + +Some standard assets, like lookups, are accessible to all users. [There is a list of standard assets.](https://github.com/moj-analytical-services/data-engineering-database-access/blob/f4f433c5363a8a2d591c53913ee3bbdfe70b6f99/project_access/standard-database-access.yaml) +For example, to gain access to [nomis addresses](https://github.com/moj-analytical-services/data-engineering-database-access/tree/f4f433c5363a8a2d591c53913ee3bbdfe70b6f99/database_access/nomis/addresses), a user should be assigned it [via a project](https://github.com/moj-analytical-services/data-engineering-database-access/blob/f4f433c5363a8a2d591c53913ee3bbdfe70b6f99/project_access/nomis_dbt.yaml#L18) + ## Standard database access The first thing you'll need to work with Create a Derived Table is an [Analytical Platform account](https://user-guidance.analytical-platform.service.justice.gov.uk/get-started.html#2-analytical-platform-account) with standard database access. If you don't have that already, follow the [guidance on how to make changes to the standard database access project file](https://github.com/moj-analytical-services/data-engineering-database-access#standard-database-access) in the Data Engineering Database Access repo. @@ -32,4 +39,4 @@ users: business_case: > To create derived tables for Analytical Team 1. -``` \ No newline at end of file +```