---
title: Create user plugins for RPA Desktop Design Studio
description: Create user plugins by using Microsoft Visual Studio to enable RPA developers to use complex .NET components or libraries in RPA Desktop Design Studio in a seamless way.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/integrate-applications/install-user-plugins-rpa-studio.html
release: australia
topic_type: task
last_updated: "2026-03-12"
reading_time_minutes: 3
breadcrumb: [Build, RPA Desktop Design Studio, Robotic Process Automation \(RPA\) Hub, Workflow Data Fabric]
---
# Create user plugins for RPA Desktop Design Studio
Create user plugins by using Microsoft Visual Studio to enable RPA developers to use complex .NET components or libraries in RPA Desktop Design Studio in a seamless way.
## Before you begin
Use either Microsoft Visual Studio Pro, Community, or Enterprise version to perform this task.
Role required: none
## About this task
The following procedure describes how to create a user plugin using C\#.NET.
## Procedure
1. Open Microsoft Visual Studio and click **Create a new project**.
2. In the Create a new project dialog box, select the Class Library \(.NET Framework\) template.
\[Omitted image "rpa-user-plugin-class-library.png"\] Alt text: Class library DOT NET Framework.
3. Click **Next**.
4. In the Configure your new project dialog box, fill in the following fields:
|
Field
|
Description and action
|
|---|
|
Project name
|
Name of your project.For example, `MyFirstPlugin`.
|
|
Location
|
Location of your project.Select a disk location.
|
|
Solution name
|
Name of your project's solution.
|
|
Framework
|
Select a framework version.Select **.NET Framework 4.7** version.
|
5. Click **Create**.
The Class1.cs file opens.
6. In the Solution Explorer pane, right-click **References** and select **Add Reference**.
7. In the Reference Manager dialog box, navigate to **Assemblies** > **Framework**.
8. Select the **System.AddIn** assembly to add an annotation of this addin.
\[Omitted image "rpa-user-plugin-system-addin.png"\] Alt text: Select System.AddIn assembly.
9. Click **OK**.
10. In the Class1.cs file, add the `System.AddIn.AddIn("MyFirstPlugin", Description = "Learning to create custom components", Version = "1.0")` code snippet above the class.
11. In the Class1.cs file, create one or more public static methods to your code.
In this example, two methods are added to the code:
- **SayHello** method: The name is taken as the input and returns "Hello" with a name and followed by an exclamation mark. For example, if the input is `User`, it returns "Hello User!".
- **Sum** method: Two numbers are taken as the input and returns the sum of these two numbers. For example, if the inputs are `5` and `12`, it returns "17".
\[Omitted image "rpa-user-plugin-code.png"\] Alt text: Public static methods.
12. Click **Save**.
13. In the Solution Explorer pane, right-click your project and select **Build**.
14. After the build is successful, do the following actions to copy and paste the .dll files:
1. In the Solution Explorer pane, right-click your project and select **Open Folder in File Explorer**.
2. Navigate to **bin** > **Debug** and copy the .dll files.
3. Go to your RPA Desktop Design Studio automation project folder and create a new folder as **UserPlugins**.
**Important:** Ensure that the spelling of this folder is entered correctly.
4. In the UserPlugins folder, create a folder and enter a name for the folder.
For example, `My First Plugin`.
5. Paste the .dll files in this folder.
15. In the RPA Desktop Design Studio, do the following actions to add the plugin to your automation project:
1. In the Project Explorer pane, right-click **User Plugins** and select **Add User Plugin**.
2. In the Available User Plugins dialog box, select the plugin.
3. Click **OK**.
In the Toolbox pane, the user plugin you created appears.
16. Do the following actions to use the user plugin:
1. In the Toolbox pane, navigate to the user plugin component category to select a method.
\[Omitted image "rpa-user-plugin-toolbox.png"\] Alt text: Two methods that appear in the user plugin component category.
2. Drag a method to the Design surface.
3. To provide the input parameter value manually, double-click the input parameter field under the method, and enter the value.
4. To provide the input parameter value from another method or component, connect the Data In port of the method to the Data Out port of another method or component.
5. Connect the control ports of the method to the corresponding ports of another method or component.
6. On the Design surface, right-click the title bar of the component from where you want to start the execution and select **Run From Here**.
\[Omitted image "rpa-user-plugin-example1.png"\] Alt text: Output of the SayHello method that appears as "Hello User!".
\[Omitted image "rpa-user-plugin-example2.png"\] Alt text: Output of the Sum method that appears as "17".
**Parent Topic:**[Building automations](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/rpa-studio-build.md)