# How to Download a Script Key

## Environment

| Version          | Product                     | Author                                                                          |
| ---------------- | --------------------------- | ------------------------------------------------------------------------------- |
| 2026.1.210       | Telerik Document Processing | [Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova) |
| Target Framework | .NET Framework              |                                                                                 |

## Description

If Telerik assemblies are referenced manually (DLLs in `/bin`) and the project does not have the `Telerik.Licensing` NuGet package, [licensing must be activated through a script key](https://www.telerik.com/document-processing-libraries/documentation/distribution-and-licensing/license-key/setting-up-license-key#adding-a-license-key-to-projects-without-nuget-references) (`EvidenceAttribute`). This article shows how to download such a script key.

## Solution

1. Go to the [License Keys](https://www.telerik.com/account/your-licenses/license-keys) page in your Telerik account.

2. Click the **View Script Keys** button:

    <img style="border: 1px solid gray;" src="/document-processing-libraries/documentation/assets/bc672249a59b299e4f7fc254327ec9bf/view-script-key.png" alt="View Script Keys" />  

3. A new Script Key window appears with your C#/VB Script Key for the selected product. The drop-down at the top lists all the products accessible with your license. Select the desired product:

    <img style="border: 1px solid gray;" src="/document-processing-libraries/documentation/assets/a35fd0e2a57347afd18a210656f93a4a/view-products.gif" alt="View Products" /> 

   The code snippet from the Script Key contains an assembly attribute called `EvidenceAttribute` that holds information about the script license key.

4. Copy the whole key string to the bottom of the scrollbar in the `Telerik.Licensing.EvidenceAttribute("script-key")`:

    <img style="border: 1px solid gray;" src="/document-processing-libraries/documentation/assets/ced3dce27a25228be5e127eeb99afdeb/script-key.png" alt="Script Key" />   

   > note Do not publish the script key snippet in publicly accessible repositories. This is your personal script license key.

5. Register the copied script key by using `TelerikLicensing.Register("script key")`.

   > note The script key must be registered before initializing any code related to the Telerik Document Processing Libraries.

```csharp
namespace LicensingInLambda;
 
public class Function
{
    public string FunctionHandler(string input, ILambdaContext context)
    {
        // Lambda function entry point
 
        // This requires adding a reference to the Telerik.Licensing.Runtime.dll.
        TelerikLicensing.Register("your script key");
 
        // TODO: DPL - generate PDF here
 
        var entryAssembly = Assembly.GetEntryAssembly();
        var name = entryAssembly?.GetName();
 
        return $"Entry assembly: {entryAssembly?.GetName()} ... {Class1.DoYourMagic()}";
    }
}
```

## See Also

* [Setting Up License Key](https://www.telerik.com/document-processing-libraries/documentation/distribution-and-licensing/license-key/setting-up-license-key)
* [License Key vs. Script Key](https://www.telerik.com/document-processing-libraries/documentation/knowledge-base/license-key-vs-script-key)
