<jupyter_start><jupyter_text>Credentials Setup  AuthenticationBefore we can do anything with CARTOframes, we need to authenticate against a CARTO account by passing in CARTO credentials. You will need your username (or base_url) and an API key, which can be found at http://your_user_name.carto.com/your_apps.* `username`: the name of the user CARTO account.* `base_url`: which is the URL of your CARTO account (`https://your_user_name.carto.com/`)* `api_key`: if the dataset is **public**, we can use `default_public`. Otherwise, we need to set the API key.There are two ways to use our credentials:1. Setting the same credentials by default, which is called the **Default Credentials**2. Creating different credentials and passing them to the Map, Layer or Source we want to create, by using the `Credentials` class.  Default Credentials<jupyter_code>from cartoframes.auth import set_default_credentials

set_default_credentials(
    username='your_user_name',
    api_key='your_api_key'
)

# or

set_default_credentials(
    base_url='https://your_user_name.carto.com/',
    api_key='your_api_key'
)<jupyter_output><empty_output><jupyter_text>Layer Credentials<jupyter_code>from cartoframes.auth import Credentials
from cartoframes.viz import Map, Layer

visualization = Map(
    Layer(
        'dataset',
        credentials=Credentials('https://your_user_name.carto.com/')
    )
)
from cartoframes.auth import Credentials
from cartoframes.viz import Map, Layer

credentials_a = Credentials('your_user_name_a')
credentials_b = Credentials('your_user_name_b')

visualization = Map([
    Layer('dataset_a', credentials=credentials_a),
    Layer('dataset_b', credentials=credentials_b)
])<jupyter_output><empty_output><jupyter_text>Source Credentials<jupyter_code>from cartoframes.auth import Credentials
from cartoframes.viz import Map, Layer, Source

visualization = Map(
    Layer(
        Source(
            'dataset',
            Credentials('your_user_name', 'your_api_key')
        )
    )
)
from cartoframes.auth import Credentials
from cartoframes.viz import Map, Layer, Source

credentials_a = Credentials('your_user_name_a')
credentials_b = Credentials('your_user_name_b')

source_a = Source('table_name_a', credentials_a)
source_b = Source('table_name_b', credentials_b)

visualization = Map([
    Layer(source_a),
    Layer(source_b)
])<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.09239815203695927, 'fraction_numerical': 0.0008399832003359933, 'mean_word_length': 5.3689839572192515, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '230227', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 775, 'n_tokens_neox': 744, 'n_words': 204, 'path': 'examples/01_quickstart/02_credentials_setup.ipynb', 'repo_name': 'CristianPachacama/cartoframes', 'size': '2381'}