# Concept: Intro to Shared Code[¶](https://knowledge.dataiku.com/latest/courses/advanced-code/shared-code/intro-shared-code-summary.html#concept-intro-to-shared-code "Permalink to this headline")

In this lesson, we’ll introduce two of the most common ways that you can access and share frequently-used code in Dataiku: project libraries and code samples.

Having reusable code enhances the collaborative experience for all users on the Dataiku instance, reduces the time required to code, and can help improve consistency.

Project libraries allow you to create and share your code library. Once created, you can share the code within the same project, such as within recipes and with other projects on the same instance.

Code samples allow you to create and share your own frequently used code snippets in notebooks, recipes, and when creating custom algorithms, to name a few.

## What’s Next?[¶](https://knowledge.dataiku.com/latest/courses/advanced-code/shared-code/intro-shared-code-summary.html#whats-next "Permalink to this headline")

In upcoming lessons in this course, we’ll discuss these concepts in more detail. We’ll even look at ways we can import code from a Git repository into our project library.
